Simple PHP to AS prob

hello, i am sending data from flash to php to my database with no prob. But i cant get my the php to send variable, called “checklog” back to my flash file.

this is the code i used on my submit button in flash
loadVariablesNum (“",0,"post”);
this is the code in my frame 1
this.onEnterFrame = function () {
if(_root.checklog == 1){
this is the last two line of my php file.

print "&checklog=".$valueCheck;

Now my trace(checklog) in my main Frame return 1 but its packed with spaces and i dont move to frame 2. Can someone help me or am i doomed to suck at this.