Re: [SMARTY] problem with array with only one index

From: Date: Wed, 14 Aug 2002 16:20:52 +0000
Subject: Re: [SMARTY] problem with array with only one index
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5709@lists.php.net to get a copy of this message
Since you indicate that you do not need it, why not remove the additional dimension on the newsListData array when you assign it to smarty? $t->assign('newsListData', $newsListData[$_GET['news_id']]); and in the template: {$newsListData.news_topic} __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

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