RE: [PHP] Re: Extract column names from a (my)SQL query
| From: | Daevid Vincent | Date: | Fri, 21 Aug 2009 18:34:22 +0000 |
| Subject: | RE: [PHP] Re: Extract column names from a (my)SQL query | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297064@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Nisse Engström [mailto:news.NOSPAM.0ixbtqKe@luden.se]
>
> If you're using MySQL, you can try mysql_field_name()
> and see if it gets you anywhere. I don't think it works
> on empty results though.
FYI. It will.