odbc and oracle

From: Date: Tue, 10 Apr 2001 13:23:12 +0000
Subject: odbc and oracle
Groups: php.db 
Request: Send a blank email to php-db+get-8440@lists.php.net to get a copy of this message
Hallo, im trying to get some information out of a db, the sql statement = SELECT c.lastname, c.firstname, a.postcode, a.phone, c.contact_id, c.email FROM pl_cm_t_contact c, pl_cm_t_address a WHERE (c.contact_id = a.contact_id) AND (c.lastname LIKE 'Müller%') ORDER BY 1 how can i read out the fields in php? if i try it whith odbc_fetch_row it woun't work, if i try it whith odbc_fetch_into it woun't work, but if i try it with odbc_result_all, i get a table. Only problem, i don't need a table, i need a string or array with the values for the single fields. Tanks for any help (I don't know what to try any more)

« previous php.db (#8440) next »