queryfire("SELECT * FROM `tbl_book` where operator_id=".$sdata["id"]." order by id desc");
}
else
{
$city = $h->queryfire("SELECT * FROM `tbl_book` order by id desc");
}
$i=0;
while($row = $city->fetch_assoc())
{
$query = "SELECT * from tbl_bus where id=".$row['bus_id'];
$busdata = $h->fetchData($query);
$query = "SELECT COUNT(*) AS total_count, GROUP_CONCAT(seat_no) AS total_seats FROM tbl_book_pessenger WHERE book_id=" . $row['id'];
$totalseat = $h->fetchData($query);
$i = $i + 1;
?>
|
|
format('jS M Y, g:i A');
?>
|
format('jS M Y, g:i A');
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|