Re: [SMARTY] Array problem

From: Date: Sat, 23 Nov 2002 19:58:27 +0000
Subject: Re: [SMARTY] Array problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6529@lists.php.net to get a copy of this message
At 20:46 2002-11-23 +0100, you 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!
Yeah, and I wanted it to be a string. And I want that string to be punt into the smarty assign function. So how do I do it? Mike

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