05-12-2009, 09:26 PM
|
#13 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by Guezala
I'm really sorry...been a long day. The latest version is check4.php, and the action is to the same...posted older version but the rest of the code is exactly the same.
The errors I am getting...
Notice: Undefined index: name in /Applications/MAMP/htdocs/pf5/check4.php on line 77
Notice: Undefined index: company in /Applications/MAMP/htdocs/pf5/check4.php on line 78
Notice: Undefined index: address in /Applications/MAMP/htdocs/pf5/check4.php on line 79
Notice: Undefined index: email in /Applications/MAMP/htdocs/pf5/check4.php on line 80
Notice: Undefined index: phone in /Applications/MAMP/htdocs/pf5/check4.php on line 81
|
Ok, so on check4.php on the top before anything happens. Let's
print out the POST data that's causing the issue and see what we are getting returned from the form....
echo "Name: " . $_POST['name'] . "<br />";
echo "Company: " . $_POST['company'] . "<br />";
echo "Address: " . $_POST['address'] . "<br />";
echo "Email: " . $_POST['email'] . "<br />";
echo "Phone: " . $_POST['phone'] . "<br />";
|
|
|
|