DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php check for empty string
if (empty($var)) { echo '$var is either 0, empty, or not set at all'; }
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
#check
#empty
#string
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit