Alex,Only if you were to put the text in the value attribute for the option element.
HTH, Everett----- Original Message ----- From: "Alex Hall" <mehgcap@xxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Thursday, December 11, 2008 6:29 PM Subject: another quick php question
Is there a way to have php get the text of a select list option, instead of the value? Basically, the equivalent of the javascript:var txt=form.select.options[form.select.selectedIndex].text;I know php has the $_POST and $_GET arrays, but these get selected options' values. Thanks!Have a great day, Alex __________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind