DVLev
Joined: 08 Feb 2007
Posts: 2
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
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
|
|
|