[eluser]alfisahr[/eluser]
Dear all,
please help me. i'm confused about this problem.
i have records on my table. Let say
guestbook
id sender
1 Alfin
2 John
3 Merry
This is My
template.php
<html>
.....
<body>
{content}
....
<html>
If i will call all the records with database array on my variable template, i have try this :
....
function index() {
$query = $this->db->query('select * from guestbook');
$row = $query->row_array();
$data = array('content' => $row['sender']);
$this->parser->parse('template',$data);
................
But, the output just showing the last of record. Here this
Merry
I want to show all records, hw about the code. please help me...
rgrds
Alfisahr