But my question is this....
I'm using empty() to determine whether or not a string variable is returned from a database. Am I correct in thinking that
Code: Select all
if (empty($var)) {...Code: Select all
if (!$var) {...Code: Select all
if (!empty($var)) {...Code: Select all
if (!$var) {...