Re: [SMARTY] Array problem

From: Date: Sat, 23 Nov 2002 20:00:16 +0000
Subject: Re: [SMARTY] Array problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6530@lists.php.net to get a copy of this message
At 20:46 2002-11-23 +0100, you wrote:
On 23 Nov 2002 at 20:21, Michael Paluchowski wrote: Now why doesn't this work? $smart = 'array("FirstName" => "Ned","LastName" => "Flanders"),
                              array("FirstName" => "Monty","LastName" => "Burns")';
Look at your single quotes around array(); You are defining a string, not an array!
OK, did it :) Thanks for the help! Mike

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