Setting values to arrays

Author Message

Piotr Kwiatkowski

Sunday 06 June 2004 10:45:56 pm

Is it possible to assign values to an array after it has been created?

{let myarray=array()}
{set myarray[3]=5}
{/let}

This, doesn't work.
If it's possible, how sould we do it?

Trond Åge Kvalø

Tuesday 08 June 2004 6:48:55 am

Hi Piotr!

Have you tried this?

http://ez.no/ez_publish/documentation/reference/template_operators/arrays/insert

best regards
trondåge

trondåge

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.