PDA

View Full Version : Post combo box


dingobats
03-01-2008, 11:13 PM
on (release) {

// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
_parent.form.loadVariables("email.php", "POST");
}

im trying to post a flash UI component combodrop down. But it's not woking.

I'm just doing a verying simple setup that will insert


mysql_connect("localhost", "root", "root") or die(mysql_error());
mysql_select_db("test") or die(mysql_error());

// Retrieve all the data from the "example" table
$result = mysql_query("INSERT INTO `test` SET `name`='$_POST[choice]'")
or die(mysql_error());

all of the other fields such as name and email with just a regular input box works, but i don't know how to work with the combo UI. Please help