Re: [SMARTY] Array problem

From: Date: Sat, 23 Nov 2002 20:26:51 +0000
Subject: Re: [SMARTY] Array problem
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6532@lists.php.net to get a copy of this message
At 21:14 2002-11-23 +0100, you wrote:
At 21:00 2002-11-23 +0100, you wrote:
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! Damn, still not working like it should... Seems that I'll have to do some more explanations here. Figured it out... now it works :) Thanks again. Mike

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