Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  1,2,3,4

phpMyEdit General     1,2,3,4
Post new topic   Reply to topic    
 
niko     Joined: 25 Mar 2005   Posts: 2  
Post 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
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy