Re: conditional question
| From: | Monte Ohrt | Date: | Mon, 04 Mar 2002 14:18:33 +0000 |
| Subject: | Re: conditional question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2933@lists.php.net to get a copy of this message | ||
Yes, use $smarty instead of $smary
Steve wrote:
>
> The following if:
>
> { if $smarty.get.mode eq "add" or $smary.get.mode eq "modify" }
>
> Never tests true with the following URL:
>
>
> http://192.168.10.70/admin/index.php?page=product&mode=modify&id=821&display
> =cat
>
> But does with this one:
>
> http://192.168.10.70/admin/index.php?page=product&mode=add
>
> Any ideas on what I'm doing wrong here?
>
> Thanks,
> Steve
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
Director of Technology, ispi Inc.