Retrieve data and column names from a table

From: Date: Wed, 17 Dec 2003 19:43:50 +0000
Subject: Retrieve data and column names from a table
Groups: php.db 
Request: Send a blank email to php-db+get-32107@lists.php.net to get a copy of this message
Hi, I need to retrieve the data and column names from a single row in a table, i.e. 'SELECT * FROM Table WHERE Field_ID = 1' How can I get PHP to show the data and the column names? With reference to my earlier post and the replies I can't use DESCRIBE in conjunction with SELECT and I don't want to use a deprecated PHP function... Thanks for your help

« previous php.db (#32107) next »