Re: [SMARTY] Array problem

From: Date: Sat, 23 Nov 2002 19:46:58 +0000
Subject: Re: [SMARTY] Array problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6528@lists.php.net to get a copy of this message
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! Chris -- Chris Prior, Berlin, Germany public@prior-I.De http://www.prior-I.De

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