Am I being daft? Arrays...

From: Date: Mon, 07 Apr 2003 14:51:03 +0000
Subject: Am I being daft? Arrays...
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9163@lists.php.net to get a copy of this message
Afternoon folks.....my head is hurting... I have an array and I want to get they arrays key value while looping through a section. I am sure I can do this but I can't find it in the manual... {section name=story loop=$story_stid} This would be the value of the current position in the array: {$story_stid[story]} Now I would like the current vaule of its key: {arrrrghhh} {/section} Cheers John

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