Welcome Guest, Not a member yet? Register   Sign In
how to create the detail for every row of the table
#1

[eluser]Unknown[/eluser]
hi all..
i was created a table 'member' with 5 fields,,ID, name, address, gender and email,,,
and in the member page i was show the table but just for ID and name field,,,
Code:
<?php
$data = $this->db->get('member');
foreach ($data as $row)
{
?>
<tr>
<td> &lt;?php echo $row->ID; ?&gt; </td>
<td> &lt;?php echo $row->name; ?&gt; </td>
<td> &lt;?php echo $row->name; ?&gt; </td>
&lt;?php echo anchor('member/memberdetail/','detail'); ?&gt;
</tr>
&lt;?php
}
?&gt;

and the result of every row was show with 'detail' link,,end this is link for the detail of the row,,but i don't know to make the detail page to show the complete data of the specific member,,
please help me to build it...


Messages In This Thread
how to create the detail for every row of the table - by El Forum - 04-25-2009, 11:04 AM
how to create the detail for every row of the table - by El Forum - 04-25-2009, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB