Erreur SQL : 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 'AND b.checkin > NOW() ORDER BY b.id DESC' at line 6
RequĂȘte : SELECT b.id as idBookingHotel, a.libelle, b.checkin, b.checkout, b.status as sts, u.userIdentifier, u.email, b.nbPersonnes, b.prix FROM hotels a INNER JOIN bookingHotel b ON a.id = b.idHotel INNER JOIN users u ON u.id = a.uid WHERE a.id = b.idHotel AND b.idSejour = 0 AND a.uid = AND b.checkin > NOW() ORDER BY b.id DESC