Re: Why is content of $name empty?



// Check if any field are empty
if((!$name = empty($name))||
(!$mail = empty($mail))||
(!$subject = empty($subject))||
(!$message = empty($message))){

= is an assignment operator
== is an equality operator

MG


.