PHP form validation Need Help?

Mike

New member
Hi I need some help.
I have to have 3 text fields (First Name, Last Name, and Credit card number).
These 3 fields have to be validated so that if the user enters invalid data, it stays on the same page and marks which fields are incorrect, if they are valid then it goes to another page where it echo's the data.

The form is supposed to get validated when the user clicks submit.

If you could help me with this it would be greatly appreciated.
Thanks in advance,
Mike,

Please understand i am a complete noob to PHP. I have joined the course late and know have a project due. It would be really appreciated if you could give me code of how to do this and I will go through and understand it.

Thanks,

mike
 
Back
Top