1.

How to check empty string in php?

Answer»

To check empty STRING in PHP, we can USE the empty() function.

Example

if(empty($VAR1)){
    // TRUE
} else {
   //  False
}



Discussion

No Comment Found