Answers for "check if a variable ius not empty"

PHP
5

php code to check if variable is null

if(empty($var1)){
    echo 'This line is printed, because the $var1 is empty.';
}
Posted by: Guest on May-01-2020

Code answers related to "check if a variable ius not empty"

Browse Popular Code Answers by Language