print “sent=$t”
will not work coz you try to print a variable, $t, which is undefined,
it should be the other way round:
print “&t = sent”; (with the semicolon)…
Actually, I think ‘sent’ is the variable he’s trying to print to Flash. And I’ve printed in PHP a few different ways, this one’s my fav:
print "&sent=".$t;
Ahmed, why wouldn’t you use loadVariablesNum? I’m using that for my PHP stuff, should I be using a different way??
And Andrew, one other thing (in case you don’t do this). I usually will run the PHP in the browser to see if the variable’s printing at all before trying to have a Flash object read it - easier to find bugs that way! (-:
*Originally posted by Freddythunder * Ahmed, why wouldn’t you use loadVariablesNum? I’m using that for my PHP stuff, should I be using a different way??
It’s really just a personal preference, and actually, i don’t even use loadVariables anymore, i use LoadVars