Re: section/array/isset problem

From: Date: Mon, 21 Jan 2002 12:39:47 +0000
Subject: Re: section/array/isset problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2553@lists.php.net to get a copy of this message
Right now the syntax you have would require two passes by the Smarty compiler, which it currently does not do. You can not have arrays reffered to by other Smarty variables. Jason ----- Original Message ----- From: Kai Kramhoeft To: smarty@lists.ispi.net Sent: Sunday, January 20, 2002 7:32 PM Subject: [smarty] Re: section/array/isset problem Hello, thanks for your reply. Yes, I am assigning the variables. $smarty->assign("project", $project); $smarty->assign("check_project",$check_project); Smarty is complaining about this statement (gives me a warning). {$check_project[$projects[listing].id]} I am using Smarty version 1.46. Dont know if I have to upgrade to 1.50. It may break code that I already did. Thanks, Kai.

« previous php.smarty.general (#2553) next »