Form Validation
Posted: Mon Nov 05, 2007 6:56 am
Hi,
I got simple form with name , address and other details. I dont want to use javascript for field validation. I want to use PHP for validation. How I should do this. I mean I should have seperate PHP file on the server that check each field and if there is any filed empty then it should present user with a same page indicating missing filed. Or should I do it on same page. Please let me know which is the best way and give me a small example if you can so that can help me.
Thanks
I got simple form with name , address and other details. I dont want to use javascript for field validation. I want to use PHP for validation. How I should do this. I mean I should have seperate PHP file on the server that check each field and if there is any filed empty then it should present user with a same page indicating missing filed. Or should I do it on same page. Please let me know which is the best way and give me a small example if you can so that can help me.
Thanks