If statement

Hi,

I am not very good in flash… but I do know Javascript and PHP… Actionscript looks about the same for me.
My problem is as following…
I get a value from a PHP file, and get it in flash… this is my PHP text:


<?PHP 
//test.php 
echo "variabele=Goedemorgen&t=1"; 
?> 

and this is my Flash script:


loadVariablesNum("test.php", 0);

if(t==1){
	var blaat	= "hallo text 1";
}
else{
	var blaat	= "hallo text 2";
}

It always shows “hallo text 2”, and I don’t understand why. What did I do wrong? Can somebody help me?

Yours,
Paul Peelen