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!
The problem is that the variable $start and $end never change value. Does anyone have a clue of what is wrong? Setting the variables before the while statement like this $start = "test" only makes the code print test several times.
I tried to remove all the pieces of the code that didn't seem to have anything to do with the problem. The code I posted still produced the bug. Now I have of course changed my code and can't recreate it, and the code I posted works perfectly now. Strange. Maybe I did some stupid mistake that I didn't see and corrected it without knowing.