I have setup a news system where the scripts uses a url from the database that corresponds to a particular articles and imports that file.
The imported files all ready have all the necessary html to create the paragraph with <p> tags in each one of them.
The problem is that they are too big and it\'s not convinient to split each file to 2 or 3 more files. Is it possible to read the files before printing everything, check how many paragraphs are there and just display a third of them at the time?
I could manually separate the paragraphs with two new lines before the next one. Would that be helpful to count the number of paragraphs or is there a better way to do it?