gevo12321 Posted July 3, 2007 Share Posted July 3, 2007 how do u say "blank" in php? for example im trying to make an if statement to say that if the input if blank, echo something else echo something else Quote Link to comment Share on other sites More sharing options...
per1os Posted July 3, 2007 Share Posted July 3, 2007 www.php.net/empty or <?php if ($string == "") { echo 'the string is blank!'; } or www.php.net/is_null if you are looking for null values. Quote Link to comment Share on other sites More sharing options...
gevo12321 Posted July 3, 2007 Author Share Posted July 3, 2007 thx rock on Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.