Re: Column headers
| From: | Bogdan Stancescu | Date: | Tue, 02 Jul 2002 14:17:19 +0000 |
| Subject: | Re: Column headers | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20264@lists.php.net to get a copy of this message | ||
For MySQL, see mysql_num_fields() and mysql_fetch_field() at http://www.php.net
HTH
Bogdan
Casey Allen Shobe wrote:
How can I get the column headers from a query? For example, on a 'select blah, blah2, blah3, something as blah4 from whereever', I would want the blah, blah2, blah3, blah4, preferably in an array. Thanks,Mail scanat cu RAV Antivirus!