checking if a variable is set
| From: | Gergely Drapos | Date: | Tue, 16 Mar 2004 18:19:19 +0000 |
| Subject: | checking if a variable is set | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11128@lists.php.net to get a copy of this message | ||
Hi,
I want to check if a given array element has been set ($pictures.id).
Is there an "elegant" way to do this (like isset() in PHP) or do I have to
stick to
{if $pictures.id}
... code ...
{/if}
Thanks in advance,
Gergely