|
Hi, I have a question.
I'm working on a Flash/PHP application, and I'm having problems with one part of the code. At this part, Flash loads a variable from one PHP script (which gets it from MySQL), adds 1 to it, and outputs it to another PHP script.
The variable in question an integer, so if the variable was, for example, 2, I want Flash to take 2, add 1, and output the number 3. However, Flash isn't treating the variable like an integer--it's just adding the character 1 to the end of it. So instead of ending up with 3, it's taking two and outputting 21.
Any idea what's causing this? I can include code if that helps.
Thanks
Tom
__________________
Please login or register to view this content. Registration is FREE Free webmaster resource w/ reviews of affiliate programs, pay per popup, pay per click, etc
|