Bonjour,
Sur ma page PHP, j’obtiens la NOTICE suivante :
Citation:
Notice: Undefined offset: 1 in [...] on line 684
La ligne 684 correspond àCode:
1
2
3
4 if (isset($pDate)) { list($DateBillet, $HeureBillet) = explode(" ", $pDate); [...]
La notice apparait quand $pDate est au format (AAAA-MM-JJ), sans l'heure donc.Code:list($DateBillet, $HeureBillet) = explode(" ", $pDate);
Existe t'il un moyen d'assigner $HeureBillet uniquement si besoin ?
Merci
