How to pass an array to an included template

From: Date: Wed, 19 Mar 2003 21:26:26 +0000
Subject: How to pass an array to an included template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8757@lists.php.net to get a copy of this message
The subject more or less says it all. I have the following scenario: All my pages have the same layout ie: page title, a bar on the left with some 'menu' entries made of hrefs... I have decided to put the header & menu displaying in one tpl that should just be included by all other .tpl. I must be stupid, but have not found a way to send arrays to an included file. Sending single variables is fine, arrays beats me. Any help will be warmly welcomed. Didier

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