To verify the existence of both a name and message, try a test similar to
the following:
if ((email_is_valid($email)) && (strlen($name) > 0) && (strlen($name) > 0))
{ ... }
I've found that using "" in a conditional block tends to be a bit buggy.
strlen() seems to be pretty solid for verifying th
Very embaressing
The error where not in my if-statement... but in what I did later on in the
else-clause...
so boys and girls... remember you do not set variables like this:
$Var = = "Avariable"; // Doesn't work. (slap me!)
the correct is : $Var = "Avariable";
Sorry for vasting your time.
2 matches
Mail list logo