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? Quote Link to comment Share on other sites More sharing options...
ryanlwh Posted October 19, 2005 Share Posted October 19, 2005 mysql_fetch_field Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.