PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Read through the code, and for each step, imagine the code processing (like a debugger would). This should shed some light on how things are going to render.
Ok, went trough the code.
If i put the FOR loop over the while it just loops the result image 80 times before going to the next.
if I put the for loop in the WHILE statement it just keeps on showing the same image...
You are using $row in your limit portion of your for loop, but it is never set to anything. And it looks like the brackets in that code don't match up. Is it throwing any errors?