Would appreciate any help with this as I'm new to PHP.
I'm trying to connect an HTML fom with a PHP script that resides in a separate file. However, I just cannot get the script to run when I use the "submit" button on the form. The script runs if the URL for the script file is entered directly in the browser.
As far as I know I have the correct script file name in the "action" field on the form. I have not tried embedding the PHP into the file with the form but I felt keeping them seperate would be a cleaner solution.
Any ideas? Or is it not possible to invoke the script in a separate file.