one more question.
Why the variable, that contains NULL value appears to be not set. When
you try to echo it the php does not produce warning about using
//$connection contains database connection handler
$result=mysql_query("select NULL as value",$connection);
if (!isset($foo)) echo("\$foo is not set but does not produce warning
Someone correct me if I'm wrong but it appears that you should be using
if(!isset($tmp["value"]) before assigning to $foo if you want to ensure
that $foo will, indeed, be set.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php