I have the following call:
SELECT * FROM facility LEFT JOIN fuel USING(facilityID) LEFT JOIN fuelType
ON fuel.TypeID=fuelType.ID WHERE facility.facilityID=$facilityID
The data is returned properly using mysql_fetch_row(), but
mysql_fetch_assoc() and mysql_fetch_object() set the ID of the facility to
NULL for one of the returned entries. It also looks properly when issued in
the mysql commander center. Any ideas?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php