Est ce qu'il y a une erreur dans ce code:
$select = 'SELECT * FROM' .$gallery_table.' WHERE FormatDate='.$date.' ORDER BY id ASC' .$LimiteInf.','.$LimiteSup;
Merci$select = 'SELECT * FROM' .$gallery_table.' WHERE FormatDate='.$date.' ORDER BY id ASC' .$LimiteInf.','.$LimiteSup;
Merci
$select = 'SELECT * FROM '.$gallery_table.' WHERE FormatDate='.$date.' ORDER by ID DESC LIMIT '.$LimitInf.','.$LimitSup;
il donne cette erreur:
Erreur : 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 '' at line 1
Code : Tout sélectionner
$select = 'SELECT * FROM '.$gallery_table.' WHERE FormatDate='.$date.' ORDER by ID DESC LIMIT '.$LimitInf.','.$LimitSup.';';