my registration code showing error aftr executing , the code is given below and i am using the wamp server,
<?php echo "Register
"; $submit = $_POST['submit']; $fullname = $_POST['fullname']; $username = $_POST['username']; $password = $_POST['password']; $repeatpassword = $_POST['repeatpassword']; if ($submit) { echo "$username/$password/$repeatpassword/ $fullname"; } ?>Your full name: |
<input type='text'
name=‘fullname’> |
<input type='submit' name='submit'
value=‘submit’>
cud any1 please help regarding the same the error which is occuring are ( ! ) Notice: Undefined index: submit in C:\wamp\www\loginsession\register.php on line 6 Call Stack # Time Memory Function Location 1 0.0013 366768 {main}( ) ..\register.php:0( ! ) Notice: Undefined index: fullname in C:\wamp\www\loginsession\register.php on line 8
Call Stack
Time Memory Function Location
1 0.0013 366768 {main}( ) …\register.php:0
( ! ) Notice: Undefined index: username in C:\wamp\www\loginsession\register.php on line 9
Call Stack
Time Memory Function Location
1 0.0013 366768 {main}( ) …\register.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\loginsession\register.php on line 10
Call Stack
Time Memory Function Location
1 0.0013 366768 {main}( ) …\register.php:0
( ! ) Notice: Undefined index: repeatpassword in C:\wamp\www\loginsession\register.php on line 11
Call Stack
Time Memory Function Location
1 0.0013 366768 {main}( ) .