Re: how do i check if a field exists

From: Date: Tue, 07 Aug 2001 11:12:51 +0000
Subject: Re: how do i check if a field exists
Groups: php.dev 
Request: Send a blank email to php-dev+get-62397@lists.php.net to get a copy of this message
> where "field_name" actually exists but may not be used (null). > > the problem is that if it is not used then warnings are generated, > even if i do;- > > if($myrow["field_name"] != null){ > $data = $myrow["field_name"]; > } is there any proposal to unify database extensions ? it seems that the mysql-extension doesn't set NULL values whereas the mssql-extension sets them to FALSE and the generic ODBC-extension sets them to 0. i haven't tried the others. there are a few other points that should be genrealized too here. harald.

« previous php.dev (#62397) next »