UI Component can have var?

you know when you use PHP and your text boxes have VARS well how do you set up a UI component such as a combobox or even a typefeild to have a var (name)…

or simply how do you make a combo box talk with php?