i am new in codeigniter. And i am trying to get field name of a table with a query.
I have write a query
"select * from user"
using database library write this code to list all fields:
take a look here: http://www.codeigniter.com/user_guide/database/results.html#CI_DB_result::list_fields