JamesWinfield
-
Posts
2 -
Joined
-
Last visited
Posts posted by JamesWinfield
-
-
Hello
I have just started to learn PHP, via some courses on Lynda, and am trying to amalgamate what I've learnt into a contact form on a half-finished website.
I am not actually entirely sure if it is actually a PHP problem, but given that is where my knowledge is weakest, that is my best guess.
If you click "Contact Us" on www.ineedaweatherforecast.co.uk, then click "send your message" without inputting any data, it goes back to the main page. Then if you click "Contact Us" again, you will see the relevant warnings are displayed.
I have also split out the most basic part of the form onto a separate page where it seems to be behaving as suspected - www.ineedaweatherforecast.co.uk/test.php.
Can anyone kindly advise me why it is going back to the home page instead of staying on the "Contact Us" section and bringing up the error?
Thanks
James
Beginners Problem
in PHP Coding Help
Posted
Thanks for your advice. Guess I will need to do a course on Ajax too then!