View Full Version : I am getting an error as "undefined index" in line 3 in below program

07-14-2012, 03:32 PM
echo 'your name is '.$firstname.' '.$lastname;
echo '<br>your email is '.$email;
echo '<br>your password is '.$password;
echo '<br>your date of birth '.$date.'-'.$month.'-'.$years;
if (!$con)
die('could not connect:'.mysql_error());

07-14-2012, 05:30 PM
Line 3 is:

The error means that there is not data send via POST with name "txt2r".
Check if in the form there is the field with name="txt2r" .

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum