<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2024-05-20 02:46:26 --> 404 Page Not Found: Api/Driver/Phone-login
ERROR - 2024-05-20 02:46:27 --> 404 Page Not Found: Api/Driver/Phone-login
ERROR - 2024-05-20 16:23:04 --> Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE DATE_FORMAT(entry_date,'%Y-%m-%d')='2024-05-20') AS total_pending_booking' at line 7 - Invalid query: SELECT(SELECT COUNT(id) FROM tbl_driver) AS total_driver,
        (SELECT COUNT(id) FROM tbl_driver WHERE status=1) AS total_activedriver,
        (SELECT COUNT(id) FROM tbl_driver WHERE status=1 AND is_online=1) AS total_onlinedriver,
        (SELECT COUNT(id) FROM tbl_user WHERE status=1) AS total_users,
        (SELECT COUNT(id) FROM tbl_booking) AS total_booking,
        (SELECT COUNT(id) FROM tbl_booking WHERE is_cancle=1) AS total_cancle_booking,
        (SELECT COUNT(id) FROM tbl_booking WHERE ride_status=0 WHERE DATE_FORMAT(entry_date,'%Y-%m-%d')='2024-05-20') AS total_pending_booking
