3
Awlex
7y

Today I was fighting a bug in php that resulted in a steady increase of the upload time of a picture. I printed it out together with some other like the amount of accesses on the image.
They where separated with <br> tags which were not displayed for some reason (maybe you already gueesed it here).

I ask my teacher to help me out, because the entry in my database was correct, the value I received was correct, but not the displayed value...

We even modified the database structure in order to find the bug, but it turns out the error was how I displayed the values. TIL that strings are not concatenated with a '+', but with a '.', the hard way.

Next problem: why is the access count incremented? Also why 3 times?😅

Comments
Add Comment