I have a combobox filled with menuitems from a mysql database. For eg. One of the menuitems is sweet and sour chicken. When i try to output the variable for combobox item on to another form only the first part of the variable is displayed eg. sweet. This is the case for all the items in the combobox. However the items themselves in the combobox appear correctly. How can i get the entire part of the item from the combobox. I used
$itemName = $_POST[“itemName”];
however,
on the form where the combobox is, i used $row[itemName]; to display the contents into the combobox.