Micha:
That is an interesting alternative.
> SELECT
> CASE yourField = 'Y'
> THEN 'Yes'
> ELSE 'No'
> END AS choice,
is 'choice' the returned variable that would contain the
values of "Yes" or
"No"?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Michael Fesser" <netizen@gmx.de> wrote in message
news:gji1v3hpequ4i525osthr4ek0ua2klq10h@4ax.com...
> .oO(DreamerJim)
>
>>Here is an easy question for someone. I am storing
code values ("Y",
>>"N"), in
>>a Mysql database column and when I display the field
in Dreamweaver, I
>>would
>>like to have it appear as "Yes", or "No", not just
the letter, as the case
>>warrants. The only way I see doing this is with a
menu or list but that
>>builds
>>a select drop down list box and I want display only,
no entry. Surely
>>there is
>>an easy way to do this that is simply eluding me.
>
> Besides the given PHP solution, you could also let the
database do it:
>
> SELECT
> CASE yourField = 'Y'
> THEN 'Yes'
> ELSE 'No'
> END AS choice,
> ...
> FROM yourTable
> WHERE ...
>
> Micha