Re: [SMARTY] Variable type in smarty?
| From: | John Nichel | Date: | Mon, 30 Aug 2004 13:37:22 +0000 |
| Subject: | Re: [SMARTY] Variable type in smarty? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11739@lists.php.net to get a copy of this message | ||
Robert Amos wrote:
you can use almost any simple php expression inside an {if} statement. So: {if is_int($var)} do stuff {/if} will work fine. -bokThanks Robert...just what I need. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com