www.webdeveloper.com
Results 1 to 2 of 2

Thread: Php pagination help

  1. #1
    Join Date
    Aug 2014
    Posts
    1

    Question Php pagination help

    Hi guys can you tell me any code that i want a simple html type page in there i want a wp post like process that it automatically divide it into pages and i post simple poetry and furthur process will be done like wordpress i just want this to show on simple page without menu or anything just simple php page which have navigation lik 1 2 3 .... so on and i can post content which is automatically separated

  2. #2
    Join Date
    Mar 2012
    Posts
    1,559
    I'm not sure that I understand the query. Why have you put this in the CMS section? More importantly, PHP runs server-side so has no inherent knowledge of the screen or window dimensions for any client. There are workarounds, of sorts, but PHP cannot dynamically adjust the page breaks for changes to the window dimensions. The best you can expect is to paginate for a fixed page size, which may or may not correspond to the actual display.

    Also, the accessibility features built into the browsers allow the users to vary the font sizes anyway. So you cannot even rely on the default sizes of the text corresponding to the actual display.

    Basically, web sites are not designed to do what you ask.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles