php-general | 2003022
Date: 02/21/03
- Next message: Joe Njeru: "[PHP] Database Persistance Layer"
- Previous message: Frank Keessen: "Re: [PHP] Forms and MySql date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Joe Njeru: "[PHP] Database Persistance Layer"
- Previous message: Frank Keessen: "Re: [PHP] Forms and MySql date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

