[eluser]rash[/eluser]
Hi all,
Can anyone tell me how can pass two variables from view part of a form to controller..
Look my view form is like ..
<table width="100%" border="0" cellpadding="2" cellspacing="1" class="display" id="example">
<thead>
<tr>
<th>Student Name</th>
<th>Book Name</th>
<th>Issue Date</th>
<th>Expiry Date</th>
<th>Time</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<?php
$slno=0;
foreach($this->issuelist as $key => $value) {
$slno++;
?>
<tr>
<td><?php echo $value['student_name']; ?></td>
<td><?php echo $value['book_name']; ?></td>
<td><?php echo CovertDate($value['issue_dt']); ?></td>
<td><?php echo CovertDate($value['expiry_dt']); ?></td>
<td><?php echo $value['btime'];?></td>
<td><a href="<?php echo URL;?>library/edit_book_issue/<?php echo $value['book_issue_id'];?>">Edit</a></td>
<td><a href="<?php echo URL;?>library/delete_book_issue/<?php echo $value['book_issue_id'];?>">Delete</a></td>
</tr>
<?php } ?>
</tbody>
</table>
In the line where i wrote edit with a href i want to post another variable to cotroller, but i don't know how??
plz help me.