0 Replies Latest reply on Apr 2, 2008 6:09 PM by Cpt._Awesome

    Adding New Row To MySQL Database From Flex?

    Cpt._Awesome
      I am creating a user login system using Flex, and I am having trouble getting it to add a new row when someone tries to register. The username and password is sent to the database and a new row is created, but the row that was created is blank. Therefore, when the person tries to login, the username and password isn't recognized. I think the problem is somewhere in my Flex code and not the database or PHP. Here is the code that calls that database:

      <mx:HTTPService id="registerNewUser" result="checkRegistration(event)" showBusyCursor="true" method="POST"
      url=" http://www.rockwaveguitar.com/siteAdmin/register2.php" useProxy="false">
      <mx:request xmlns="">
      <username>
      {username.text}
      </username>
      <password>
      {password.text}
      </password>
      </mx:request>
      </mx:HTTPService>