RE: [PHP-DB] variable with NULL value

2007-05-04 Thread Ford, Mike
On 03 May 2007 16:22, OKi98 wrote: Hi, one more question. Why the variable, that contains NULL value appears to be not set. U -- because that's how it's defined?? (http://php.net/isset) Cheers! Mike - Mike Ford,

[PHP-DB] variable with NULL value

2007-05-03 Thread OKi98
Hi, 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 undefined variable. //$connection contains database connection handler $result=mysql_query(select NULL as value,$connection);

Re: [PHP-DB] variable with NULL value

2007-05-03 Thread James Gadrow
OKi98 wrote: Hi, 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 undefined variable. //$connection contains database connection handler $result=mysql_query(select NULL as

Re: [PHP-DB] variable with NULL value

2007-05-03 Thread Chris
James Gadrow wrote: OKi98 wrote: Hi, 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 undefined variable. //$connection contains database connection handler $result=mysql_query(select