View that prints all the array $data['personas'] in a table html. |
Good morning and sorry for my english.
I have a very simple Controller, a very simple Model and I need the code of a simple View that prints all the array $data['personas'] in a html table. The problem is: I don't know the name of fields, I don't know how many fields has got the table, (or array) And I need put the name of the fields in the first row of the html table... Code of Controller: Code: class Controller_05_tabla_oracle extends CI_Controller { Code of Model: Code: class Model_05_tabla_oracle extends CI_Model{ Code of View, (since now) Code: <div class="page-header"> This you can see: ![]() And this is i need to see: ![]() Thanks a lot for your atention. Àngel Gimeno |
Welcome Guest, Not a member yet? Register Sign In |