Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $test = $pdo->query("SELECT * FROM `evenements` WHERE id_categorie='1'");
- $nb_ligne = $test->rowCount();
- $nb_ligne = $nb_ligne/2;
- $nb_ligne = (int)$nb_ligne;
- $totalnbLigne = $test->rowCount();
- $france1 = $pdo->query("SELECT * FROM `evenements` WHERE id_categorie='1' LIMIT 0, $nb_ligne");
- $nb_ligne = $nb_ligne+1;
- $france2 = $pdo->query("SELECT * FROM `evenements` WHERE id_categorie='1' LIMIT $nb_ligne, $totalnbLigne");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement