Imam problem sa sledecim upitom:
Code:
SELECT * FROM vesti WHERE pismo='1' ORDER BY datum DESC LIMIT 3, 6
SELECT * FROM vesti WHERE pismo='1' ORDER BY datum DESC LIMIT 3, 6
Kada je LIMIT 0, 3 radi ok, ali za sledece daje neocekivane rezultate (konkretno za ovaj daje 5 redova).
U dokumentaciji sam pronasao da je ova kombinacija malo zahebana. Da li je neko resavao ovako nesto sql-om, ili da ga provlacim kroz while petlju u php-u?
// edit: pogresno sam skontao limit parametre! Izvinjavam se !
problem resen.
Pop Servis "Paradise Tours"
Java User Group Karlsruhe
IT Dan - Srbija
Officer, I saw the driver who hit me - his name was Johnny Walker.
Java User Group Karlsruhe
IT Dan - Srbija
Officer, I saw the driver who hit me - his name was Johnny Walker.