vbnullchar Posted March 20, 2007 Share Posted March 20, 2007 how can i get field names of a table Quote Link to comment Share on other sites More sharing options...
btherl Posted March 20, 2007 Share Posted March 20, 2007 Assuming you are using mysql, you can use http://sg.php.net/manual/en/function.mysql-list-fields.php But note the comment recommending you use the SQL command SHOW COLUMNS FROM table instead. 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.