Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-11-2007, 11:39 AM   #1
Registered User
Join Date: Feb 2007
Posts: 18
Default combobox selected value to php not working

I can send data from Flash to my PHP file but I cannot select an item from a combobox and send to php ? How is this done. If I use a trace statement when I select an item from the combobox it works fine.

county_cb.addItem({data:1, label:"Galway"});
county_cb.addItem({data:2, label:"Clare"});
county_cb.addItem({data:3, label:"Mayo"});

function change(evt){
var selectCombo= evt.target.selectedItem.label
county_cb.addEventListener("change", this);

submit_btn.onRelease = function () {
var send_lv:LoadVars = new LoadVars();
send_lv.county = selectcombo;
send_lv.comments = comment_it.text;
send_lv.sendAndLoad("http://www.mywebsite.com/viewsoccer.php", result_lv, "POST");

$to="[email protected]";
$subject= 'Checking Combobox';
$msg= "Comments : ".$_POST['comments']."\nFrom County: ".$_POST['county'];

paulo is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
combobox datagrid lose selected item himik Flex 2, 3 & 4 1 09-19-2006 09:22 PM
Flash + PHP not working moogoat ActionScript 2.0 2 08-17-2006 01:04 AM
Changing the selected item in a combobox mcmcom Components 3 07-28-2006 11:42 AM
PHP mailing list form not working, HELP!! dfcentre ActionScript 2.0 2 03-21-2006 11:54 AM
attendance tracking using comboBox & PHP & CSV jaxson Components 1 04-12-2005 04:55 AM

All times are GMT. The time now is 02:11 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.