Re: Easy Question -- Show/ Hide text based on output of query
| From: | Jason Wong | Date: | Tue, 05 Feb 2002 18:53:26 +0000 |
| Subject: | Re: Easy Question -- Show/ Hide text based on output of query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83619@lists.php.net to get a copy of this message | ||
On Wednesday 06 February 2002 02:53, Edward R. Bailey wrote:
> Sorry -- Here it is
>
>
> <?php If ($memberNotes) {
> $notes = "<div align=left><font
> size=-1><b>Notes:</b></font></div>";
> } else {
> $notes = "";
> }
> ?>
>
> Then I call $notes using --
>
> echo ($notes)
I meant your *whole* script -- never mind, have you tried echo($memberNotes)
to see what that contains? Are you sure it doesn't contain spaces or other
non-visible characters?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
"All language designers are arrogant. Goes with the territory..."
(By Larry Wall)
*/