Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
|
before hitting send? that can only be done client side ... javascript ...
but if you mean after that, well ...
instead of if ($myemail != "") you can have it:
PHP Code:
if (!is_null($myemail) && !is_null($message))
i'm not sure if that is what you are asking for but i hope it helps. 
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
|