Date: 08/06/01
- Next message: Hugo Amorim: "[phplib] Multiple select"
- Previous message: giancarlo pinerolo: "Re: [phplib] default authentication, anyone using it?"
- Next in thread: Hugo Amorim: "[phplib] Multiple select"
- Maybe reply: Hugo Amorim: "[phplib] Multiple select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hello im using OOH Forms and i have a small question
Im using thins to creat a drop down box with the info from the array get_nomes ( the data is names from persons)
now the question is how can i use this to chose multiple names ?
Because if i choose 2 names i will get
nomes%5B%5D=miguel&nomes%5B%5D=hugo
that way i cant send it to the DB like
$sql = "INSERT INTO permissoesutilizadores (nome,...................................)
$name_nomes=array();
$name_nomes=get_nomes();
$new_peruti->add_element(array("type"=>"select",
"name"=>"nomes",
"options"=>$name_nomes,
"multiple"=>1,
"size"=>3,
"valid_regex"=>"^[a-zA-Z_ -]+$",
"valid_e"=>"Por favor seleccione o Serviço",
"value"=>"0"));
$new_peruti->show_element("nomes");
- Next message: Hugo Amorim: "[phplib] Multiple select"
- Previous message: giancarlo pinerolo: "Re: [phplib] default authentication, anyone using it?"
- Next in thread: Hugo Amorim: "[phplib] Multiple select"
- Maybe reply: Hugo Amorim: "[phplib] Multiple select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

