Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4005094
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:21:10+00:00 2026-05-20T08:21:10+00:00

Consider an article inside a div that has many <p> tag. Is there any

  • 0

Consider an article inside a div that has many <p> tag. Is there any serverside way -( php, mysql) to paging <p> inside div?

<div id="page">
  <p>lipsum</p>
  <p>lipsum</p>
  <p>lipsum</p>
  <p>lipsum</p>
</div>

EDIT:
I can search in google for php pagination and I have read some o them. I want to paginate specific tags inside one filed not fetch specific rows. There isnt any get query. This is only a dynamic article that fetched from a field.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:21:10+00:00Added an answer on May 20, 2026 at 8:21 am

    If you want to paginate content inside single article and article is stored in single row in database. You will have to do it in php.

    1. retrieve content of article from database

    2. explode content into parts, I do this on one of my sites by inserting

      <!-- BRAKE -->

      inside content where I want brake to happed when writing article before storing it in database

    3. Make the usual pagination logic for displaying certain article part

    Second step is trick, if you want to break it on p I suggest using some DOM parser to do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to perform private key encryption in C#? I know about
I am having problem understanding Priority Inversion Snippet from the article: Consider there is
Consider this document fragment: <div id=test> <h1>An article about John</h1> <p>The frist paragraph is
Consider an standard normalized many-to-many tag system (three tables of articles, tags, tag_map). I
Lets say I have a model, Article that has a large amount of columns
I hava a HTML page on server. consider an article example is loaded in
Consider this: class User < ActiveRecord::Base # name, email, password end class Article <
Consider following scenario: I have RESTful URL /articles that returns list of articles user
Consider the following URL: http://www.iamsomeweiredurl.fromsomewhere/andIwant#thisfragment Is there a chance to get thisfragment by @RequestMapping
Consider the following Mechanize form object #<Mechanize::Form {name f1} {method POST} {action f.php} {fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.