RE: [SMARTY] rownum with foreach?

From: Date: Thu, 22 Aug 2002 17:28:16 +0000
Subject: RE: [SMARTY] rownum with foreach?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5811@lists.php.net to get a copy of this message
Try changing {$smarty.foreach.comments.rownum} to {$comment_id.rownum} -- Josh -----Original Message----- From: Peter Billen [mailto:peter@clueless.be] Sent: Thursday, August 22, 2002 11:10 AM To: 'Smarty General' Subject: RE: [SMARTY] rownum with foreach? Little fuckup, sorry (read again below) Peter -----Original Message----- From: Peter Billen [mailto:peter@clueless.be] Sent: donderdag 22 augustus 2002 17:09 To: 'Smarty General' Subject: [SMARTY] rownum with foreach? Hi, Why doesnt this work? {foreach from=$newsListData.comments item=comment_id name=comments} . . . Comment #{$smarty.foreach.comments.rownum} . . . {/foreach} Thanks, Peter -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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