Quantcast
Viewing all articles
Browse latest Browse all 87561

Re: php variables loaded into flash correctly and displayed DEFY the If - Then statements

Hi Kglad.com

Well you really nailed that one. Yes you were right, the length was > 2 and was in fact 4. 2 spaces after string.


So with that said, I would like to know if there is a way to actually solve this, I mean nip it in the bud. Why does php send a string appended with 2 blanks. Can I get php to send exactly what I want without the spaces? In fact I picked up the strings because the values sent by php were strings. In fact what I want is that php return a numeric value. The numeric it sends is in the form of a string and I am sure it too has the blanks appended to it since the string comparisons I tried with the numerics ( "1" & '1' )  also failed at the IF Then Block.


If it is not possible to correct this in php, then what would be the best way to do it in flash.


What I wanted was that php return a numeric value 1,2,3 etc. and which I could then use in the IF - Then Blocks.


Please help !!


Thanks. 


Viewing all articles
Browse latest Browse all 87561

Trending Articles