Page 1 of 1

insert data into mysql using flash.

Posted: Wed Aug 23, 2006 12:07 am
by calmchess
Hi could somebody point me to an article or tell me how to insert data from a flash input box into a mysql data base. I prefer to use php and XML.

Posted: Wed Aug 23, 2006 12:10 am
by RobertGonzalez
Do you know how to grab information from a flash form already, or do you need help in that arena as well?

Posted: Wed Aug 23, 2006 12:15 am
by calmchess
yes i'm able to get info out of the mysql data base using php,xml,mysql

Posted: Wed Aug 23, 2006 12:16 am
by calmchess
ummmm well i guess i need help with it all......i'm not sure what you meant with your reply.....forgive my green feet.

Posted: Wed Aug 23, 2006 12:21 am
by RobertGonzalez
What I am asking is do you already know how to make flash and PHP talk to one another?

Posted: Wed Aug 23, 2006 12:23 am
by calmchess
no i don't

Posted: Wed Aug 23, 2006 12:26 am
by calmchess
this is all i know about making flash talk to php.

Code: Select all

for (i=0;i<1000;i++) {
var theXML:XML = new XML();
theXML.ignoreWhite = true;

theXML.onLoad = function (){
 
 var nodes = this.firstChild.childNodes;
 for (i=0;i<nodes.length;i++){
 theList.addItem(nodes[i].firstChild.nodeValue),i
     }
}

theXML.load("http://localhost/webserver1/development/products2.php")

Posted: Wed Aug 23, 2006 12:31 am
by RobertGonzalez
Is that actionscript or JavaScript? Actually, this is getting more and more irrelevan as I still have not provided a good tutorial for you yet. If I find one, I will be sure to post it.

Posted: Wed Aug 23, 2006 12:38 am
by calmchess
that is an action script.........thanks for posting a tutorial if you come across one....i've googled it for hours and all i can find is a XML socket connection server solution(i'm trying to build chat for learning purposes)this is the server http://www.huikuri.com/flash/xml...............don't spend too much time on the subject its complex and time consuming ....thnx for your support.