I have a as3 class that sends strings flash to php, and uses the following php to confirm they were sent. My flash player does receive the 1, so I know that the communication between the two is working, but how do I display the ‘score’ variable that is received?
<?php
$teamName = $_POST['playerName'];
$score = $_POST['score'];
$success = "1";
//...
$returnVars = array();
$returnVars['success'] = $success;
$returnString = http_build_query($returnVars);
echo $returnString;
?>
total php n00b,
j33k