PDA

View Full Version : edit MYSQL fields in FLASH?


terter2000
01-13-2010, 02:51 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?

oracleguy
01-14-2010, 12:19 AM
Please do not cross post.

Original thread: http://www.codingforums.com/showthread.php?t=186628