Update: 2026-06-11 18:22:57

This commit is contained in:
Hamza-Ayed
2026-06-11 18:22:59 +03:00
parent c5170a88d2
commit 727068b668
629 changed files with 46050 additions and 46109 deletions

View File

@@ -0,0 +1,41 @@
<?php
include "../connect.php";
$sql = "SELECT
*
FROM
phone_verification_passenger
LEFT JOIN `notesForPassengerService`
ON
`notesForPassengerService`.`phone` = `notesForPassengerService`.`phone`
WHERE
phone_verification_passenger.phone_number NOT IN(
SELECT
phone
FROM
passengers
WHERE
phone IS NOT NULL
) AND phone_verification_passenger.created_at >= DATE_SUB(CURDATE(), INTERVAL 4 DAY)
ORDER BY
created_at
DESC
LIMIT 0, 25;
";
$stmt = $con->prepare($sql);
$stmt->execute();
if ($stmt->rowCount() > 0) {
// Fetch the records
$rows = $stmt->fetchAll(PDO::FETCH_ASSOC);
printSuccess($rows);
} else {
// Print a failure message
printFailure($message = "No Phone verified yet found");
}
?>