Zeb Posted October 19, 2005 Share Posted October 19, 2005 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? Link to comment https://forums.phpfreaks.com/topic/2698-how-to-get-field-names-from-a-query/ Share on other sites More sharing options...
ryanlwh Posted October 19, 2005 Share Posted October 19, 2005 mysql_fetch_field Link to comment https://forums.phpfreaks.com/topic/2698-how-to-get-field-names-from-a-query/#findComment-8971 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.