Categories > TinyButStrong general >

skey

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: skey
Date: 2007-11-06
Time: 18:22

skey

skey
By: mgb
Date: 2007-11-06
Time: 18:35

array key val

Sorry about the wrong post and now to my question:
Is there a way to get the value of a key-value pair in an array?
The php code:
$array[1] = 'one';
$array[2] = 'two';
$array[3] = 'three';
$array[4] = 'four';
$array[5] = 'five';
$array[6] = 'six';
$__tbs->MergeBlock('test',$array);
The template:
[test.$] = [test.?]

Thanks in advance for you help.
By: Skrol29
Date: 2007-11-06
Time: 20:01

Re: array key val

Hi,

[test.#] , [test.$] and for flat arrays : [test.key] , [test.val]