Jump to content
Killersites Forums


New Members
  • Content Count

  • Joined

  • Last visited

Everything posted by vijay587

  1. suppose I have 3 form fields Firstname, lastname and username and I want to check these fields using PHP. whenever I checked field is empty or does not meet any requirement then form displays error against to every field. please guide me exact program that error only display to those field which does not meet requirement. please go through my code:- <?php $firstname=$_POST['Fname']; $lastname=$_POST['Lname']; $Username=$_POST['Username']; $err=""; if(isset($submit)){ if($firstname==""){ $err = "<i style='color:red'>Please enter your first name!</i>"; }else{ if(!
  2. Which programming(javascript or PHP) I have need to use to check the form fields such as textbox cannot be empty, password field must contain special symbol, Email ID format is valid or not etc.
  • Create New...