I need to show some text but this texts is saved with a label that increase: for example
var save={'0':'first text','1':'second text'};
now I need to show this text in my tpl page so in my controllers I pass this vector to page. My problem is: how can I read the value in the vector with begin and with end??is it possible or not?
<!-- BEGIN posts -->
<!-- END posts -->
and I try to use in the IF some regex expression?