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:-
$err = "<i style='color:red'>Please enter your first name!</i>";