Re: [SMARTY-DEV] html_options

[email protected] (till) Mon, 26 Feb 2007 11:37:35 +0100
Newsgroups php.smarty.dev
Message-ID <[email protected]>
Hi,

On 2/24/07, Danilo Buerger <[email protected]> wrote:
> $smarty->assign('myOptions', array(true => 'test', false => 'foo'));
> $smarty->assign('mySelect', false);
> $smarty->display('test.tpl');

As messju noted, PHP is not "so" type safe.
But try to cast your true/false as string and see if that works.

Cheers,
Till