prepare("select category from expcategory where category =:p") ; $chk->bindparam(":p", $cat) ; $chk->execute() ; if($chk->rowcount() > 0) { ?> add_cat($cat)) { ?> Add Expenditure Category

Add Expenditure Category

prepare("select * from expcategory") ; $getp->execute() ; $ct = 0 ; while($row = $getp->fetch(pdo::FETCH_ASSOC)) { $ct++ ; ?>
SN CATEGORY NAME ACTION
" onclick="return confirm('Are You Sure you want to delete this Category ?, Action can not be undo! ')" class="btn btn-danger" >DELETE