Jokers Posted April 7, 2009 Report Share Posted April 7, 2009 Sveiki , kāds var man dot padomu , kāds ir kods lai izvilktu no datubāzes jaunākos 10 ierakstus , un tad nākošos jaunākos 10 ierakstus un tā tālāk kāds var lūdz izpalīdzēt ? Quote Link to comment Share on other sites More sharing options...
Val Posted April 7, 2009 Report Share Posted April 7, 2009 http://php.lv/f/index.php?showtopic=2935 meklē "ierakstu dalīšana pa lappusēm" Quote Link to comment Share on other sites More sharing options...
Web Developer Posted April 8, 2009 Report Share Posted April 8, 2009 SELECT * FROM table ORDER BY date DESC LIMIT 0,10; Quote Link to comment Share on other sites More sharing options...
goma smile Posted April 8, 2009 Report Share Posted April 8, 2009 Galvenais ORDER BY date DESC LIMIT 10 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.