Yep... It just doesn't work !!!!
I'm having problems with a simple mathematical operation with data received from an INI-file.

Data I receive from the INI-file goes to $data.
After I received the data, I want it to add by one (+1), and store the new data in $counter.
What I've done is: $counter = $data + 1

Let's say I receive 5 from the INI-file. $data would then naturally be 5, and then starts the problem...
I do the mathematical operation, but $counter does not end up as 6 ! It ends up as 51... WHY !?!?!?!? WHY !?!?!?!?

I want it to do math, not... hmm... that !


Any solutions on this problem, guys ??