Steve Goodman <mailto:[EMAIL PROTECTED]>
    on Tuesday, September 02, 2003 12:54 PM said:

> Can someone
> recommend a way to reliably evaluate this variable?

1. (not positive on this point so correct me if I'm wrong) you shouldn't
compare with !==. Instead us !=.

2. What does the following do?

for ($i=1; $i<=$entries; $i++)
{
        if(empty($_POST["resolutions".$i]))
        {
                echo "empty!";
        }
        else
        {
                echo "not empty!"
        }
}


You might also like to try isset() along with empty().


hth,
Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to