| Index
» Projekty
» phpMyEdit
» Fórum
» 1,2,3,4 |
 |
niko
Založený: 25.03.2005
Príspevky: 2
Zaslal: 2005-03-25 14:21
Návrat hore
Odpovedať s citátom
|
Hello
First, i must tell phpMyEdit is a really beautiful application.
I have a field in a table :
1,2,3,4,5
that's contain id number of an another table ...
how can i have multi-choice of select option for this field ?
i try this :
$opts['fdd']['myField'] = array(
'name' => 'myField',
'select' => 'T',
'maxlen' => 16777215,
'textarea' => array(
'rows' => 5,
'cols' => 50),
'required' => true,
'sort' => true
);
$opts['fdd']['myField']['values']['table'] = 'anotherTable';
$opts['fdd']['myField']['values']['column'] = 'id';
$opts['fdd']['myField']['values']['description'] = 'name';
but that display only the first id ...
how can i split that ?
Thanks
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2005-03-25 15:16
Návrat hore
Odpovedať s citátom
|
the problematic part is multiple options. see bug #296 and several other places.
|
niko
Založený: 25.03.2005
Príspevky: 2
Zaslal: 2005-03-25 15:36
Návrat hore
Odpovedať s citátom
|
i watch, but find nothing could help me ... :/
i think i will open the big class and read it to find how to do...
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|