Code Comments
Programming Forum and web based access to our favorite programming groups.You can use php functions in if statements.
{if is_int($foo)} ... {/if}
John Nichel wrote:
> Is there a way in Smarty to check if a variable is an integer, or
> would I need to drop out into php for that?
>
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.