forms

Hi,
I am trying to create an online form. I have done simple forms but this one is quite complex. Apart from a lot of repetitive work I would have thought this should be easy but it doesn’t work and I have no idea why. I just get a 505 error on the site.

Could someone point me in the right direction?

Thank you

Paul


Application_Form php.txt (46.6 KB)

You have an error on line 933

You start you php code off like this, and there is no other PHP code above that line.

[php] <?php
} else { // the user has submitted the form[/php]

Thanks for the reply. I have had a bit of a play where you suggested - to no avail. FYI I have other forms which work where the php starts in exactly the same way so I am not sure if this is right area to be looking in.
Anyway things have moved on. By using one of the other forms (which works and modifying the fields and then the php I can get the page to load so we are past the 550 server error problem. Now my problem is with the submit function. I am not getting the echo “thanks for your…”
Can anyone recommend a good IDE suitable for a newbie so that I stand a chance of finding where my errors are?
or be kind enough to look at the attached new code and tell me where I have been an idiot?

Thank you


Application - php.txt (43.2 KB)

Take a look at this post…

http://www.phphelp.com/forum/the-occasional-tutorial/make-your-life-simpler-use-an-ide!/

Sponsor our Newsletter | Privacy Policy | Terms of Service