Jump to content

Archived

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

Zeb

How to get field names from a query

Recommended Posts

While browsing I just thought of a problem I had recently but was unable to figure out.

 

I've written a routine that allows me to run a SELECT query from my site but I'd like to display the names of each field in the browser. At the moment I'm just dumping out the contents of whatever table I'm accessing and it'd be handy to see the table names.

 

Can this be done?

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.