Answers for "php if string not empty or null"

PHP
4

php check for empty string

if (empty($var)) {
    echo '$var is either 0, empty, or not set at all';
}
Posted by: Guest on March-07-2020

Code answers related to "php if string not empty or null"

Browse Popular Code Answers by Language