Hello, i use a string, eg "&&&" to mark pages in a text file. i use $count to count the above string. how can i display the contents of this file in multiple pages (by identifying the above string or any other method)? Thank you in advance John
Use $text = explode('&&&', $wholetext); to get the text into an array with the text for each page in its own variable. then have the script check what page it should be showing and show that part of the array. Call the page with, say, page.php?page=2 and do an echo $text[$_GET['page']];