Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Associative arrays for drop menu

phpMyEdit General     Associative arrays for drop menu
Post new topic   Reply to topic    
 
DVLev     Joined: 08 Feb 2007   Posts: 2  
Post Posted: 2007-02-08 16:55
Back to top  Reply with quote     

Hi all!

I have "enum" field in my table that looks like ENUM('y','n').

In generated php-file it looks like:

-----------------
$opts['fdd']['isRegisterRequire'] = array(
'name' => 'IsRegisterRequire',
'select' => 'T',
'maxlen' => 1,
'values' => array(
"y",
"n"),
'default' => 'n',
'sort' => true,
'options' => 'VAC'
);
-----------------

<select>
<option value='y'>y</option>
<option value='n'>n</option>
</select>

-----------------



But i need something like this
-----------------
<select>
<option value='y'>Yes</option>
<option value='n'>No</option>
</select>
-----------------

I read documentation but i can't understand, how can i do this? Many thanks.

 
DVLev     Joined: 08 Feb 2007   Posts: 2  
Post Posted: 2007-02-09 09:04
Back to top  Reply with quote     

Thanks for the suggestion, doug. That's just what i want.

 
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