Help:Results per page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help:Results per page

    In my guestbook..From mysql database i want to retrieve last 100 entries and display 10 entries per page using php..how to do dis could sm1 plz help me out

    #2
    LIMIT 100 in ur fetch query

    Comment


      #3
      Thnx buddy..my main issue is how to arrange those 100 results as 10 per page...

      Comment


        #4
        hmm.. i think u should google "php pagination"

        Comment


          #5
          thnx..dats wat exactly i wanted

          Comment


            #6
            ok, tips for junior coders... when in doubt with a feature that's common in lava, modify lava source, or strip the bits you need... (i remember the first time i needed to make a list with pages)

            You need to add limits to the query, ie : start id to last id of page type thing... I'm not gonna try explain, cause i'll just confuse you more... look in lists.php though, easy to follow there
            C3 Themes: http://c3themes.wen.ru/index.html
            Find Files: http://mystarter.tk/?goto=X-search

            Comment


              #7
              post you script. i will do for u

              Comment

              Working...
              X