hello i'm using fullcalendar and i want to declare event.start
and event.end
as a variable to use it inside my PHP code like this:
$sql = "SELECT *
FROM chambre
WHERE id NOT IN (SELECT id_chambre
FROM reservation_client
WHERE start <= event.end
AND end >= event.start)";
event.start
and event.end
are the two date that i select.
is it possible to mix between JavaScript and php like this?