Re: [SMARTY] Find in a list in an IF structure
| From: | Serge Ratke | Date: | Thu, 28 Oct 2004 14:11:13 +0000 |
| Subject: | Re: [SMARTY] Find in a list in an IF structure | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11931@lists.php.net to get a copy of this message | ||
{if in_the_array($ftypes[idx], 'textarea,radiogroup,someother')}try the php function in_array(needle, array). works for me. -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/