Typ of php_variable

hello,

my AS calls remove.php which returns a value.

the php file is called with :

sendvar = new LoadVars(); // I send some variables to php => no probleme
reception_var = new LoadVars();
sendvar.sendAndLoad("…etc => is ok too

the php return the value with :

print “&counter=1”;

by tracing : reception_var.counter I get : 1 => until here no problem

BUT :

I want to use the variable like this :

if (reception_var.counter==1){ trace “counter = number”}
if (reception_var.counter==“1”){ trace “counter = string”}

but none of the 2 statments is true !!!

I don’t know what to do :ear:
thanks for your help :slight_smile: