Problem with script counter.php

I can’t obviously see anything wrong with your code. It looks exactly as in the tutorial. You have got your canvas.png and digit image files in the same directory as your script, haven’t you?

I tried to explain this but didn’t do very well, @droopsnoot did a better job in post #40