NYCPHP Meetup

NYPHP.org

[nycphp-talk] Smarty String Comparison

Adam Maccabee Trachtenberg adam at trachtenberg.com
Thu Dec 4 14:57:30 EST 2003


On Thu, 4 Dec 2003, Kshitij Bedi wrote:

> For e.g.
> {if $var == "Var"} Display {/if}

Does something like this work?

{if $var|lower == "var"} Display {/if}

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list