I\'ve been writing my \"If this variable is not empty\" statements like so:
if ($var != \'\') { // Yup }
But I\'ve asked if this is correct, it
There are ways:
Another:
To check if it's empty: