Hi,
I need to check that $_POST[urltitle] is not all whitespace. How would I code that?
This is what I've got so far, but the problem is that $error gets set to true always, even when the $_POST[title] is valid and should be accepted.
if (!eregi("^[[:alnum:]]{1}$",stripslashes(ltrim($_POST[title])))){$error=true;}
Thanks.
Mike