DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php code to check if variable is null
if(empty($var1)){ echo 'This line is printed, because the $var1 is empty.'; }
PREVIOUS
NEXT
Tagged:
#php
#code
#check
#variable
#null
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit