View Single Post
Old 02-19-2008, 10:52 PM   #3 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

Well my templating class parses and caches the files so they'd end up from

Quote:
{section name=looz loop=$loop}
<a href="index.php?c={$info.id}">{$info.id}</a>
{/section}
to (essentially..there are some finer points missing)

PHP Code:
<?php
foreach(array_keys($arr) as $key)
{
   
?><a href="index.php?c=<?php $arr[$key][$req_key[$i]]; ?>"><?php $arr[$key][$req_key[$i]]; ?></a>
<?php
}
?>
Though yes, the learning curve concerns me.
TlcAndres is offline  
Reply With Quote