4 Replies Latest reply on Oct 17, 2010 2:36 PM by Chris McLaughlin

    Need double PHP echo to retreive value from event.COMPLETE in AS3

    Chris McLaughlin Level 1

      Hi,

       

      I'm working on a project that requires me to communicate with a database.  I am using PHP and mySQL with flash on the front end.  My problem is that in order get variables back from PHP I have to double them or atleast double the first 2.  So this doesn't work:

       

      $loginResult .= " " ;
      $loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;

      echo $loginResult ;

       

      but this does:

       

      $loginResult .= " " ;

      $loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;
      $loginResult .= "wasSuccessful=" . $wasSuccesful . "&" ;

      echo $loginResult ;

       

      and I only get one result.

       

      Thanks for any ideas you can send my way.

       

      Best regards,

       

       

      Chris McLaughlin