Jump to content

Archived

This topic is now archived and is closed to further replies.

vauneen

read the list of column names into a recordset

Recommended Posts

hi,

i need to read the column headings (not the values in them) of a certain MySQL table into a recordset using PHP, does anyone know how/if i can do it?

 

vauneen

Share this post


Link to post
Share on other sites

just figured it out, sorry, posted too soon.

 

this seems to be working:

SHOW FIELDS FROM databasename.tablename

 

vauneen

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.