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 Link to comment https://forums.phpfreaks.com/topic/58314-solved-quick-question/ 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. Link to comment https://forums.phpfreaks.com/topic/58314-solved-quick-question/#findComment-289138 Share on other sites More sharing options...
gevo12321 Posted July 3, 2007 Author Share Posted July 3, 2007 thx rock on Link to comment https://forums.phpfreaks.com/topic/58314-solved-quick-question/#findComment-289143 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.