Posted by Mary Pegg on 04/10/06 19:52
Mike Youell wrote:
> As far as I'm aware there is no way to do it accept use the "describe"
> function of mysql (or sql or whatever).
http://uk2.php.net/function.mysql-list-fields explains all.
You could also, I expect, use "select * from table limit 0,1"
and then array_keys() on the resulting row.
[Back to original message]
|