phpuser2010 Posted August 30, 2010 Share Posted August 30, 2010 hi all I have created a registration.html file. Now I want to validate it on a Apache server using PHP What are the steps to validate it ? I will upload the registration.html file as well as registration.php file Please checkout any errors in them Please reply me to technicalstufs@gmail.com [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
systemick Posted September 4, 2010 Share Posted September 4, 2010 When you say you want to validate the html, what do you mean exactly? Quote Link to comment Share on other sites More sharing options...
phpuser2010 Posted September 5, 2010 Author Share Posted September 5, 2010 I want to validate the data entered in the HTML. Suppose a user enters charecters instead of numbers at phone number then it has to display error message and ask for reentering. This validation should be for every field, either leaving the Firstname, middlename or email id, any box without entering the values it should ask for reentering the values. I want this validation to be done at client side in PHP Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted September 5, 2010 Share Posted September 5, 2010 I want this validation to be done at client side in PHP PHP is a server-side technology, therefore you can not use it to validate anything on the client side. If you want to perform client-side operations, you'll need to look into using javascript. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.