Help on Select
| From: | PitesaJ at peteramayer dot com | Date: | Mon, 25 Oct 2004 17:57:18 +0000 |
| Subject: | Help on Select | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15097@lists.php.net to get a copy of this message | ||
Using QF with a Select Element (the array is built from a table) and need
to run addFormRule on the selection but am unable to pull the $value only
the $key. Can post to table (if I do not use 'function
process_data($values)') by using
$service=$service_data[$_POST['service']]. But this does not work in a
function. Have tried setSelected and getSelected but cannot get syntax
correct, not even sure if that is correct approach. All examples retrieve
only the $key.
Any help greatly appreciated.