PHP provides a handy function, empty(), that is used
to determine whether a variable is empty. Perhaps that
is a bit confusing to someone unfamiliar with the
empty() function and I can see how. In this blog
post, I will cover: what empty() means in PHP, what
the empty() function does, and a use case pairing up
empty() with the PHP ternary operator conditional
construct. Both used in combination with the MySQL
NULL value. Continue reading and see examples of
empty()…
Photo by Debby Hudson on …
[Read more]