[eluser]Unknown[/eluser]
I am a Codeigniter newbie, and here is my question I know that you get data from your database in an array form. But how do I seperate Data into seperate pieces so I can apply different html tags and CSS to different categories. For ex.
In my Database I have 6 Categories which are:
- Employee_id
- Real_name
- Email
- Profile
- Position
- SSS_number
Ok, so I do a foreach($data as $result) to get the result. In my page I wanna do this.
<h1><?php $Real_name ?></h1>
<h2><?php $Email ?></h2>
<p><?php $Profile ?></p>
<p><?php $position ?></p>
<p><?php $SSS_number ?></p>
How do I do that?