NYCPHP Meetup

NYPHP.org

[nycphp-talk] get just the column names (MySQL)

David Mintz dmintz at davidmintz.org
Tue Jan 27 13:42:18 EST 2004


On Tue, 27 Jan 2004, Tim Gales wrote:
>
> You might try something like:
>
> SELECT * FROM `table` LIMIT 1
> (I wouldn't say it is elegant...)

I see your point, grab a row and look at the field names not the values.
But suppose the table is empty?

This ain't a big problem, I was just curious, Thanks everyone.


---
David Mintz
http://davidmintz.org/

        "Anybody else got a problem with Webistics?" -- Sopranos 24:17



More information about the talk mailing list