HTML form -> Flash submit button -> Set a PHP variable in flash button -> Submit form
- by RobHardgood
Okay, I'm sorry that this is pretty complicated, but it shouldn't be that hard to solve...
Here's what I want to do. I have an HTML form that I want to upload to MySQL with PHP. That part's easy, but the thing is I want the submit button to be a Flash object. Somehow I need the Flash button to submit the form, but I think I can figure that out. The tricky part is that I need it to set another PHP variable before submitting the form. The variable will be determined by a bunch of stuff, but I can code that in actionscript later. I just need to figure out how to pass the variable back to the webpage. A $_POST variable would probably be fine.
Thanks!! Let me know if I need to clarify more...