Ouvrages

$lpp ) $lastpage = ceil($nb/$lpp); else $lastpage = 1; $limit = ($page - 1) * $lpp; $reqListeOuvrage=mysqli_query($link,"select titre,titre_propre,photo,accroche from ouvrage_klop where pub='o' order by ordre LIMIT $limit, $lpp"); while($listeOuvrage=mysqli_fetch_array($reqListeOuvrage)) { if($listeOuvrage["photo"]=='') $lienPhoto='images/global/image-actu.jpg'; else $lienPhoto=$listeOuvrage["photo"]; ?>