<td><?php echo
($row_rsAnnouncement['online']=="1"?'Yes':'No'); ?></td>
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"AdonaiEchad" <webforumsuser@macromedia.com> wrote in
message
news:ehe5gv$koi$1@forums.macromedia.com...
>I have a dynamic table that shows the fowllowing...
>
> <td><?php echo $row_rsAnnouncement['online'];
?></td>
>
> When I view it, it shows either 0 or 1. How can I make
this online field
> to
> say Yes or No. If that is not possible even if it is
shows a True or
> False I
> can be happy with that.
>
> I know that in Coldfusion there is a function called
#YesNoFormat()#, is
> there
> one for PHP?
>
> Thank you,
> AdonaiEchad
>