$nb_par_page = 4;
if(isset($_GET['page']))
$page = $_GET['page'];
else
$page = 0;
$plus_link = "";
$sql="SELECT * FROM emplois WHERE 1";
$req=mysqli_query($link,$sql);
$nb_enreg=mysqli_num_rows($req);
$sql.=" ORDER BY date_emploi DESC LIMIT ".($page*$nb_par_page).",".$nb_par_page;
$req=mysqli_query($link,$sql);
while($row=mysqli_fetch_array($req)){?>
(le //)
Personne à contacter :
}
if($nb_enreg==0){
echo '
';
}else{
nav($nb_par_page,$page,$nb_enreg,"","");
}
?>