I will check the data but I'm not sure if that would be the problem, because the data will write the way it's supposed to sometimes and then just not others. What I mean to say is this: The page that keeps randomly dropping the data, is a page that displays search results from a picture search. It takes the number of pictures matched and prints a line that says the searched returned that many pictures. Then I use the returned result set from the mysql query to populate two arrays, one containing the picture name, and one containing the picture's category ( I can use these two together to form a url for the picture) I then use the number of rows returned to populate another array so that it contains the number of pages that need to be displayed, and the starting point for each page(ie. page 1 starts at picture 0, page 2 starts at picture 6), I then display the pictures, tell the user what page they are on, and when they click the next button, the script calls itself again with a flag that tells it wether to advance or backup in the page array. So, since the script calls itself, why would it write data correctly on one pass, and not another?
If anyone is willing to help me debug this, I will gladly email the code, just mail me at
jwickard@litriusgroup.com