# \[MX\]combobox var

**URL:** <https://forum.kirupa.com/t/mx-combobox-var/9404>\
**Category:** flash\
**Created:** [December 11, 2002, 3:46am UTC](https://forum.kirupa.com/t/mx-combobox-var/9404 "2002-12-11T03:46:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waffe](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@waffe](https://forum.kirupa.com/u/waffe)\
**Post date:** [December 11, 2002, 3:46am UTC](https://forum.kirupa.com/t/mx-combobox-var/9404/1 "2002-12-11T03:46:40Z")

</div>

I am trying pass a variable to php using a combobox. I can do it using a text box because it has a place I can give the text box a variable name. The combobox does not have a place to give it a variable name.

I am trying to pass the data column of the combobox as a variable to php?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 11, 2002, 11:38am UTC](https://forum.kirupa.com/t/mx-combobox-var/9404/2 "2002-12-11T11:38:37Z")

</div>

Comboboxes have instance names, and an index. Look at the tutes a bit 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 15, 2003, 7:58pm UTC](https://forum.kirupa.com/t/mx-combobox-var/9404/3 "2003-01-15T19:58:28Z")

</div>

Sorry can’t seem to crack the code, can someone else give me a clue? 👁

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2004, 9:50pm UTC](https://forum.kirupa.com/t/mx-combobox-var/9404/4 "2004-02-06T21:50:24Z")

</div>

This is what I got to do that I assigned the code to a button in the file. I just gave the comboBox an instance name of list and put this code for the button

[AS]  
on(release){  
memberName=list.value;  
this.loadVariables(“profile.php”, “POST”);  
}  
[/AS]

It makes a variable called memberName the value of what is currently selected in the list, then sends that variable using loadVariables

Hope this helps ya.
