ok je vais essayer avec une requete SQL mais moi comme test (modfié par rapport a au dessus ) j ai :
if (($timestamp_depart_heure >= strtotime($LigneTable['date_depart']))
&& ($timestamp_depart_heure <= strtotime($LigneTable['Date_retour'])))
et
if(($timestamp_depart_heure <= strtotime($LigneTable['Date_depart']))
&& ($timestamp_retour_heure >= strtotime($LigneTable['Date_depart'])))
j'imagine dionc que pour testé les deux cela serait :
if ((($timestamp_depart_heure >= strtotime($LigneTable['date_depart']))
&& ($timestamp_depart_heure <= strtotime($LigneTable['Date_retour']))))
||(($timestamp_depart_heure <= strtotime($LigneTable['Date_depart']))
&& ($timestamp_retour_heure >= strtotime($LigneTable['Date_depart'])))
Cela est il correct ??
Je suis capable du pire comme du meilleur, mais dans le pire c'est moi le meilleur !!! 