Re: [PHP] Pulling data from a table into a array

2004-11-15 Thread Jason Wong
On Monday 15 November 2004 15:54, Richard wrote: > I am using mysql_fetch_row to pull data from a table to fill an array > But I am not getting the data into the array the way I whant it to be. > > $query = "SELECT amenityID FROM property_amenity where listingId = > '$listingId'"; > $results = mysq

[PHP] Pulling data from a table into a array

2004-11-14 Thread Richard
I am using mysql_fetch_row to pull data from a table to fill an array But I am not getting the data into the array the way I whant it to be. $query = "SELECT amenityID FROM property_amenity where listingId = '$listingId'"; $results = mysql_query($query); if ($results) { whi