-1 |
|
"SELECT * from advertenties WHERE `status`='active' AND `rubriek`='Dieren' LIMIT 0,5 ORDER BY datum DESC, id DESC";
"SELECT * from advertenties WHERE `status`='active' AND `rubriek`='Dieren' LIMIT 0,5 ORDER BY datum DESC, id DESC";
"SELECT * from advertenties WHERE `status`='active' AND `rubriek`='Dieren' ORDER BY datum DESC, id DESC LIMIT 0,5";
"SELECT * from advertenties WHERE `status`='active' AND `rubriek`='Dieren' ORDER BY datum DESC, id DESC LIMIT 0,5";
vervang het bovenste door het onderste.
LIMIT 0,5 moet achteraan de query staan, niet er tussen in |