Page 1 of 1

Everytime I refresh it sends the form to me. How do I make..

Posted: Sun Dec 26, 2004 5:43 pm
by nydr
the script run only when the submit button is pressed?
I have the php in the same file as the form. I want it in the same file because I already know howto make it work with the php being external.

Posted: Sun Dec 26, 2004 6:50 pm
by feyd
detect that the submit button is apart of the input stream, and switch the output to your script's code path. :?