Admin: Recipe List
Query("select * from tbl_recipe where 1=1 $where order by $order_by $order_by2 limit $start, $pagesize"); $sql2=$obj->query("select * from tbl_recipe where 1=1 $where order by $order_by $order_by2",$debug=-1); $reccnt=$obj->numRows($sql2); if($reccnt==0) { ?>
No Record
S No.
Title
description
tags
Category
Serving qty
Variation
Veg/Non Veg
Prepration Time
Cooking time
Status
Action
fetchNextObject($sql)) { $i++; if($i%2==0) { $bgcolor = "#f6f6f6"; } else { $bgcolor = ""; } ?>
.
recipe_name;?>
description;?>
tags;?>
query("select * from tbl_maincategory where id='".$line->category."'"); $reccnt3=$obj->numRows($sql3); $line3=$obj->fetchNextObject($sql3); echo $line3->maincategory; ?>
serve_qty;?>
variation;?>
veg_non_veg == '1'){ echo 'Veg'; }else{ echo 'Non Veg';}?>
prepretion_time;?>
cooking_time;?>
status==1){?>