in reply to What is the best way to determine if a string is blank?

It mostly depends on what you want to happen under what circumstances.

For example, do you want to do something 'kool' or 'not so kool' if $foo was "0"?

In general you're probably not wanting to check just for an empty string, but for "truth".

In that case you can then just do:

if ($foo) { ... } else { ... }

Tony