I hope you can help. I'm a new to PHP and it is driving me crazy!
I have a html document with separate login and registration forms. Each one of these has it's own php script to either register or to login. When testing the input error messages for either the login or registration forms it seems to run both scripts and I get the error messages for both.
I have spent most of today trying to find a solution to this but to no avail. Is there a way that I can define a name to each script so I can add an action to each form tags referring to the particular php script?
Or This there a way of using a php if else statement based on which html button is pressed?
Thank you in advance
Hopeless coder