Re: Bug report
| From: | Jun | Date: | Wed, 26 Feb 2003 14:49:49 +0000 |
| Subject: | Re: Bug report | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8221@lists.php.net to get a copy of this message | ||
use
neq instead
{if $name neq "fred"}
asdsada
{/if}
"Peter Morgan" <pmorgan@ukds.net> wrote in message
news:3E5CBC84.7070608@ukds.net...
> I've got an if statment in the template and I know that != is the proper
> syntax ( but hey, I've have left my sinful asp ways)
>
> {if name <> 'fred'}
>
> On my wimp (wind,iis,mysql,pph) machine the above code executes, on LAMP
> it compiles with a space between the < > which causes an error.
>
> pete
>
>
>
> --
> Peter Morgan
> UK Digital
> www.ukds.net
>