I have a site that displays large articles, and they have to be split over 2 or more pages. I am using the function 'substr ( )' to break up the text and assign set amounts of that data to variables. I am displaying the first lot of text stored in the first variable on the first page, but i need to know how i can transfer the second or even third lot of data to the next page. Does anyone know how i can do this?
Should i create a whole new page/s for the second or third amount of data, or should i just refresh the same page to display the next amount of data?
Here is the current variables with the data:
$first = substr($myrow['fullarticle'], 0, 1200);
$second = substr($myrow['fullarticle'], 1201, 2400);
Thanks for the help