I’ve figured out that there were some PHP configuration issues with my XAMPP installation, so the error messages are gone now. Sad thing is, your code doesn’t output anything at all.
It works perfectly for me, though you can try with some debugging, for example try
echo $counter;
inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.
It works perfectly for me, though you can try with some debugging, for example try
echo $counter;
inside the foreach loop to see if you have any loop at all. Check the source code if you have anything there.
Aww man, sorry, I made a typo – now everything’s fine, thanks a lot!
Aww man, sorry, I made a typo – now everything’s fine, thanks a lot!