Some ways to improve it?
| From: | Ricard Pillosu | Date: | Wed, 05 Dec 2001 17:09:18 +0000 |
| Subject: | Some ways to improve it? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2149@lists.php.net to get a copy of this message | ||
Just wondering how to improve something like this:
{if $smarty.get.last == ""}
{assign var="last" value="0"}
{else}
{assign var="last" value=$smarty.get.last}
{/if}
code explains itself ...
--
Ricard Pillosu González
New Tech. Software Engineer
Dorna Sports, S.L.
ricardpillosu@dorna.es
http://www.motograndprix.com
Tel. +34 934702865