Loading...


bookmark - how to get a text feild data from an html page to actionscript Code For Save Input Data

how to get a text feild data from an html page to actionscript - Code For Save Input Data

 
 Discussion by iGuest with 1 Replies.
 Last Update: April 9, 2010, 9:42 pm
 
bookmark - how to get a text feild data from an html page to actionscript Code For Save Input Data  
Quickly Post to how to get a text feild data from an html page to actionscript Code For Save Input Data w/o signup Share Info about how to get a text feild data from an html page to actionscript Code For Save Input Data using Facebook, Twitter etc. email your friend about how to get a text feild data from an html page to actionscript Code For Save Input Data Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

how to get a text feild data from an html page to actionscriptCode For Save Input Data

1.How to save the text field data in to a variable in html page?

2.How to get a text feild data from an html page to actionscript

-reply by jasmi

 












   Mon Mar 15, 2010    Reply         

I personally don't know much about actionscript, but I DO know that Actionscript can access a database so a definite way would be to store inputs in the database and have actionscript retrieve it.

To do what you want, you'd have to learn PHP and MySQL. Here's a snippet of code for PHP and MySQL, and you're on your own for actionscript.

The textarea:

CODE


<form method="process.php" method="post">
<textarea name="myTextArea"></textarea>
</form>


mySQL

CODE


CREATE TABLE `inputs` (
`id` INT NOT NULL AUTO_INCREMENT ,
`input` TEXT NOT NULL ,
PRIMARY KEY ( `id` )
)


process.php (in the same folder)

CODE


<?php
$post = $_POST['myTextArea'];
//Connect to database... Look up how to do this in PHP.
mysql_query("INSERT INTO inputs (input) VALUES ('{$post}')");
?>

   Fri Apr 9, 2010    Reply         

Quickly Post to how to get a text feild data from an html page to actionscript Code For Save Input Data w/o signup Share Info about how to get a text feild data from an html page to actionscript Code For Save Input Data using Facebook, Twitter etc. email your friend about how to get a text feild data from an html page to actionscript Code For Save Input Data Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Html Tag For A Code Box

Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they show you a code you can use for javascript and stuff like that. I would like to know the HTML code for those boxes. Thanks in advance for your help. ...more

   22-Aug-2005    Reply         

Stop Your Html Codes From Being Sto...

Hello people! Obviously a lot of people use these little scripts to stop you from right clicking on websites/HTML pages etc. I know many many people use near enough the same kind of coding as the one I just made. I decided not to put this in the Tutorials section because I know alot of other cod ...more

   16-Oct-2008    Reply         

Code For Save Input Data

What is the code for saving input text data in visual basic 2008 express? How can i save my text data in text box and reload it again as well? Give me a complete code for saving data of a form please. ...more

   21-Apr-2009    Reply         

I've Entered Into The Programming World...    I've Entered Into The Programming World... (13) (10) A Brainstorming Question...   A Brainstorming Question...