Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I read the fieldnames from a query??

Status
Not open for further replies.

hos2

Programmer
May 6, 2002
418
NL
Is it possible that from a query select I can also get the fieldnames that are in the resultlist instead of the values of the result ??

I want to use this in order to dynamicly put all the values in a variable corresponding there fieldname in the database !

 
php mysql , I have found the mysql_fetch_field but I think it's the wrong one. or does this question belong now in the php section ???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top