1 Reply Latest reply on Oct 5, 2007 12:13 AM by atta707

    Database text insertion

    notrem Level 1
      I would like to use a Flex button which clicks to an actrionscript function which access the following php code:

      <?php
      I have the server connection code.
      I have the database connection code.

      $query = "INSERT INTO textTB (textCL, infoCL) VALUES( '$txt', '$nfo' );
      mysql_query( $query, $link ) or die ( "INSERT error: ".mysql_error() );
      mysql_close( $link );
      ?>

      Is it possible? I wish I could place the php script into an actionscript function. I can wish.

      Thanks,

      JL