Question : php check for empty string
Answered by : nate-stringham
if (empty($var)) {
echo '$var is either 0, empty, or not set at all';
}
Source : https://www.php.net/manual/en/function.empty.php | Last Update : Sat, 14 Mar 20
Answered by : nate-stringham
if (empty($var)) {
echo '$var is either 0, empty, or not set at all';
}
Source : https://www.php.net/manual/en/function.empty.php | Last Update : Sat, 14 Mar 20