Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

textarea in MX 2004 with PHP and MySQL

Status
Not open for further replies.

flashbbeb

MIS
Mar 29, 2005
106
US
I'm working on a form in Flash that I have successfully been able to connect to a PHP file that sends to a MySQL db, then another PHP file that displays the db data.

How can I connect the textarea component with my "comments" field in my db? It's not as simple as an input text line that has a 'var' that corresponds to a variable in the submitting PHP file...

Any easy way to give that textarea a variable?

Thanks.
 
Use LoadVars.sendAndLoad. You can send the info out and receive a reply back from the PHP page.

You could also create a PHP page that just returns name value pairs and use loadVariables to retrieve it.

example:
Code:
loadVariables("myPHP.php",get);

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
I have experimented with this new v2 remoting component a bit...
quite interesting, might be what you are looking for if you are doing extensive php/mysql work with flash




"If you build it....it won't work the first time.....or the second ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top