Hi,
I'm running PHP on my site (currently down- but at http://www.fountainyouthcentre.com) to read the .cgi files that GreyMatter (news publishing .cgi script) produces.
I have a script that reads the entrylist file, and prints off the entry every time it finds that the entry category is events, or site, or main or whatever. That works fine, but I want it to only print 10 of these per page. The script currently loops until it gets to the end of the file, and thus prints off all news entries. Is it possible to make it loop until it has printed only 10 entries?
If so, is it possible to set the starting value of checking so it prints the next 10 entries by parsing the URL (i.e. by linking to http://www.fountainyouthcentre.com/index.php?10)
Hence the bit after the query is set to start searching after the first 10 entries it finds.
Many thank,
Hope some of that made sense!
creator.genesis