...

View Full Version : edit MYSQL fields in FLASH?



terter2000
01-13-2010, 02:50 PM
i am using flash to use php to post data to mysql fields,
(eg. there is a textbox in flash , i type in "jolly1887" and press the submit button , it will post "jolly1887" under mysql's username field)

flash call php to insert code into mysql

INSERT INTO entries (user_name)
VALUES ('" . $_POST['username'] . "'')";

right now i am stucked , i am able to display the username into flash, able to post to mysql , but how am i going to
do a editor or an edit button in flash to overwrite the mysql fields?
(eg. if i type "jolly1887" in the username textbox , and "abcdefg" in the comment textbox, it will then replace "jolly1887" and the comment in mysql)

tried very hard to explain what i am going to do, i didnt get a good sleep by doing this.
anybody knows how?

masterofollies
01-13-2010, 03:43 PM
Do you have separate fields in the mysql database?

terter2000
01-13-2010, 04:10 PM
seperate fields? it look like this

http://img121.imageshack.us/img121/1052/picture7ql.jpg

masterofollies
01-13-2010, 08:07 PM
Ok do you want to replace the same line in the mysql field? Like look at your line 3.

Do you want to change that to something new in the flash? that is what it seems like you are asking, unless you can clear it up.

Or are you asking how to change all of the fields with one submit button?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum