Hey guys, can anyone help me with this error on a website.
Notice: Undefined index: Submit in E:\Domains\a\aet.uk.net\user\htdocs\contact.php on line 84
this is above a php contact form
here: http://aet.uk.net/contact.php
cheers
Hey guys, can anyone help me with this error on a website.
Notice: Undefined index: Submit in E:\Domains\a\aet.uk.net\user\htdocs\contact.php on line 84
this is above a php contact form
here: http://aet.uk.net/contact.php
cheers
Sure we can help. But…
PHP is a SERVER-SIDE only system. We can not see your code by looking at the output page.
(That is why PHP is quite secure.)
Browser’s only see the CLIENT-SIDE which is the OUTPUT of PHP code combined with HTML and CSS.
So, show us lines 80 to 90 or so of “contact.php” file and we can help. Also, a few notes on this site. Please post your code inside the PHP tags when you post it using the small PHP button above the entry square. This will make it easier for us to use the code to test solutions.
Thanks.
it means that php sees the variable before its being used. just wrap the variable with if(isset ()).