prepare($sql); $stmt->bindValue(':promo_code', $promo_code); $stmt->bindValue(':amount', $amount); $stmt->bindValue(':description', $description); $stmt->bindValue(':passengerID', $passengerID); if ($stmt->execute()) { jsonSuccess(null, "Promo data saved successfully"); } else { jsonError("Failed to save promo data"); } ?>