Check variable is empty string

Hey,

I am new to the community. I wanted to confirm that to check if the variable is empty string or not do we use empty($var_name)?

Yes, that will tell you if it is empty or NULL.

Cheers!
=C=

1 Like