php-db | 2001041
Date: 04/10/01
- Next message: Sebastien Pétré: "[PHP-DB] pb in compilation of PHP 4 with oracle"
- Previous message: Larry Hotchkiss: "Re: [PHP-DB] Back up database - UNIX-docs"
- Next in thread: Andrew Hill: "Re: [PHP-DB] odbc and oracle"
- Reply: Andrew Hill: "Re: [PHP-DB] odbc and oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastien Pétré: "[PHP-DB] pb in compilation of PHP 4 with oracle"
- Previous message: Larry Hotchkiss: "Re: [PHP-DB] Back up database - UNIX-docs"
- Next in thread: Andrew Hill: "Re: [PHP-DB] odbc and oracle"
- Reply: Andrew Hill: "Re: [PHP-DB] odbc and oracle"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

