AR

query($sql); $frow=$fquery->fetch_array(); ?> query($sql); $num=$nquery->num_rows-1; $sql="select * from category order by categoryid asc limit 1, $num"; $query=$conn->query($sql); while($row=$query->fetch_array()){ ?>
query($sql); $ftrow=$fquery->fetch_array(); ?>
query($sql); $tnum=$tquery->num_rows-1; $sql="select * from category order by categoryid asc limit 1, $tnum"; $cquery=$conn->query($sql); while($trow=$cquery->fetch_array()){ ?>