Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts

    edit MYSQL fields in FLASH?

    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
    Code:
    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?

  • #2
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    Do you have separate fields in the mysql database?
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?

  • #3
    New Coder
    Join Date
    Jan 2010
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts
    seperate fields? it look like this


  • #4
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    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?
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •