Hello there,
I got a phptal template question, I have an associative array which contains HTML attribute information, eg
attrs['href'] = 'www.google.com';
attrs['id'] = 'the_link'; ...
Is there a way to use the "repeat" to loop through my array and generate the attributes dynamically? (I know how to do it statically)
so I can have
<a href="www.google.com" id="the_link">abc</a>
Cheers
James
enter code here