
PK 
<?php
session_start();
require_once '../common/common.php';
require_once '../common/secure.php';
include("connection.php");
include ("../head_account.php");
?>
<div align='center'>
<table width='60%'>
<tr>
<th colspan='5' style=''><div align='center'>Expenditure Category List</div></th>
</tr>
<tr>
<th style=''>S.No.</th>
<th style=''>Name</th>
<th colspan='2' ><div align='center'>Action</div></th>
</tr>
<?php
$sql="SELECT * FROM expenditure";
$res=mysql_query($sql);
while($row=mysql_fetch_array($res))
{
echo "<tr>
<td>".$row['id']."</td>
<td>".$row['name']."</td>
<td><a href='update_cat.php?mod=expcat&action=edit&id=".$row['id']."'>Edit</a></td>
<td><a href='account_edit_action.php?mod=expcat&action=del&id=".$row['id']."'>Delete</a></td>
</tr>";
}
?>
</table>
</div>
<?php
include ("../foot.php");
?>


PK 99