Hrm... if problems.
| From: | Jason Alexander | Date: | Tue, 06 Mar 2001 03:38:00 +0000 |
| Subject: | Hrm... if problems. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-312@lists.php.net to get a copy of this message | ||
Hey all,
My apologies for something so simple, but I've been wracking my brain here
trying to figure out what I'm doing wrong, and I can't tell if it's my
severe lack of caffeine this evening, or the Dallas Mavericks' miserable
game against Orlando that I just witnessed.
But, I'm attempting to do:
{if $section == "terms"}
Terms of Use
{elseif $section == "privacypolicy"}
Privacy Policy
{/if}
Just for a simple if test, and I'm getting a parse error... checking the
compile shows invalid interpretation:
<?php elseif ($section == "terms"): ?>
Terms of Use
<?php elseif ($section == "privacypolicy"): ?>
Privacy Policy
<?php endif; ?>
Any ideas? I'm still running 1.2.2 because of issues I've had with 3.0
(related to platform: Win2k).
Yo no comprende at this point.
TIA,
-Jason