Update: 2026-08-03 11:52:03

This commit is contained in:
Hamza-Ayed
2026-08-03 11:52:03 +03:00
parent 4abfd30ddd
commit ec467b01c6
20 changed files with 152 additions and 5 deletions
+4
View File
@@ -4,6 +4,10 @@
// $con_tracking -> يتصل بقاعدة بيانات التتبع (driver_behavior, car_locations)
require_once __DIR__ . '/../../connect.php';
// $con_tracking لا يعرّفه connect.php — كان الاستدعاء يسقط بـ
// "Call to a member function prepare() on null".
$con_tracking = Database::get('tracking');
try {
// استلام البيانات من Flutter
$driver_id = filterRequest("driver_id");