Calver Posted September 22, 2009 Share Posted September 22, 2009 Hello, how do I get a list of field names from a specific table in my database? I don't want to fetch any data, just make the field names available in my User class. Thank you, Quote Link to comment https://forums.phpfreaks.com/topic/175141-solved-mysqli-get-list-of-table-field-names/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 22, 2009 Share Posted September 22, 2009 http://dev.mysql.com/doc/refman/5.0/en/show-columns.html Quote Link to comment https://forums.phpfreaks.com/topic/175141-solved-mysqli-get-list-of-table-field-names/#findComment-923065 Share on other sites More sharing options...
Calver Posted September 22, 2009 Author Share Posted September 22, 2009 http://dev.mysql.com/doc/refman/5.0/en/show-columns.html Thank you! That should keep me quiet for a while Quote Link to comment https://forums.phpfreaks.com/topic/175141-solved-mysqli-get-list-of-table-field-names/#findComment-923070 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.