[Phplib-users] ooh Form Selectfield selected ?
Brought to you by:
nhruby,
richardarcher
From: Alexander M. <am...@si...> - 2003-03-27 11:48:40
|
Hi... can someone tell me how to get da value of an select field selected ? i create the Options like this: while ($db->next_record()){ array_push($options, array("label"=>"".$db->f('name')."","".$db->f('id')."")); } The Select is created like this: $f->ae(array("type" => "select", "name" => "land", "options"=>$o)); How can i get one of the options selected (which comes out of the database)? Thanks Alex |