-
1
- #1
Hi, i was wondering how you would send some vars to a php page from flash, the php does something, then flash retrevies the answer??
like a calculator for instance.
i dont know where to go!!
:
hp code::
<?php
//calc test
$n1 = $HTTP_POST_VARS[num1];
$n2 = $HTTP_POST_VARS[num2];
$res = $n1 + n2;
echo "&res=".$res;
?>
flash .fla
im stuck
PS, whats the difference between print & echo?
and whats printf and the like do??
Thanx
Martin
Computing help and info:
like a calculator for instance.
i dont know where to go!!
:

<?php
//calc test
$n1 = $HTTP_POST_VARS[num1];
$n2 = $HTTP_POST_VARS[num2];
$res = $n1 + n2;
echo "&res=".$res;
?>
flash .fla
im stuck
PS, whats the difference between print & echo?
and whats printf and the like do??
Thanx
Martin
Computing help and info: