Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Sep 2006
    Posts
    216
    Thanks
    9
    Thanked 0 Times in 0 Posts

    creating new pages using php

    When a webpage is continually added to it is good to start a new web page to continue the data on. So on a blog for example, if one webpage holds ten posts maximum, another webpage has to be created to hold additonal posts. Is there a way to do this is php so that a new page is automatically generated to hold the new posts??

    Thanks

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    Sure, PHP can do all kinds of stuff. Your question is too vague to give any specific info though.

  • #3
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    Paging systems are what you require. An example of a pagin system is www.google.co.uk. When you do a search it uses a paging system to show the search results. There are probably some ready made paging systems out there and you can just modify accordingly
    You can not say you know how to do something, until you can teach it to someone else.

  • #4
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,794
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by timgolding View Post
    Paging systems are what you require. An example of a pagin system is www.google.co.uk. When you do a search it uses a paging system to show the search results. There are probably some ready made paging systems out there and you can just modify accordingly
    Just to clarify, I think you mean a "pagination" system....I would find a PHP pagination class somewhere and use it....

    I wrote a class that paginates a MySQL result source, if you want it...let me know...
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #5
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Location
    Southampton
    Posts
    1,519
    Thanks
    114
    Thanked 110 Times in 109 Posts
    Quote Originally Posted by chump2877 View Post
    Just to clarify, I think you mean a "pagination" system....I would find a PHP pagination class somewhere and use it....

    I wrote a class that paginates a MySQL result source, if you want it...let me know...
    Pagination - thats the word I was looking for. Thanks Chump
    You can not say you know how to do something, until you can teach it to someone else.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •