Hi,
Yes sort of. In the program that he is using he has:
function printstuff() {
global $cash, $secondRoll;
print "Cash: $cash\n";
//Store Variables In Hidden Fields
print <<<HERE
<input type = "hidden"
name = "secondRoll"
value = "$secondRoll">
<input type = "hidden"
name = "cash"
value = "$cash">
HERE;
}
This works in his program but I cant get this to happen when I do it. but that snippet is at the end of the code but I just saw now thats in a function that gets called in the start but I still don't get ow the $cash var gets printed out because the $cash dose not get its correct value until after it is printed so my question is that dose the vars get its value than every thing else you run?
Thanks,
Andrew