| Index
» Projects
» phpMyEdit
» Forum
» 1,2,3,4 |
 |
niko
Joined: 25 Mar 2005
Posts: 2
Posted: 2005-03-25 14:21
Back to top
Reply with quote
|
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
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2005-03-25 15:16
Back to top
Reply with quote
|
the problematic part is multiple options. see bug #296 and several other places.
|
niko
Joined: 25 Mar 2005
Posts: 2
Posted: 2005-03-25 15:36
Back to top
Reply with quote
|
i watch, but find nothing could help me ... :/
i think i will open the big class and read it to find how to do...
|
|
Post new topic
Reply to topic
|
|
|
|