Good morning. Below is how my php formmail script processes my spam question. Whats the simplest way to write the same type of thing but only checking for if “name, phone, and email” inputs are NOT left empty? Thanks
So I just need to know how to write a simple if/else statement but checking for an empty field.
HTML Code:if ($spam == 4){ // success, continue processing } else{ header( "Location: $errorurl" ); exit ; }