student Posted March 20, 2011 Report Share Posted March 20, 2011 Sveiki visiem! Gribu uztaisīt to, ka neparādās lapā visi ieraksti no mysql datu bāzes, bet tie sadalās lapās. Piemēram katrā lapā pa 20. Kā to var izdarīt? Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted March 20, 2011 Report Share Posted March 20, 2011 Lapas augšējā labajā stūrī ir meklēšana. Ieraksti tur 'pagination' un spied enter. Lasi atrastos topikus un radīsi atbildi. Quote Link to comment Share on other sites More sharing options...
wintermute Posted March 20, 2011 Report Share Posted March 20, 2011 Izmantojot SQL pieprasījumā LIMIT un OFFSET. http://www.petefreitag.com/item/451.cfm Varbū ir beidzot pienācis laiks SĀK MĀCĪTIES : Beginning PHP and MySQL 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.