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, 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 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 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
Archived
This topic is now archived and is closed to further replies.