Indexes In CI? |
[eluser]aataqwa[/eluser]
how to get indexes in CI...? if in Smarty Code: {section loop=$results name=i} how in CI get function index_prev..? thx regards,
[eluser]OES[/eluser]
Well by asking how to get indexs in Smarty it has nothing to do with CI. for a start I would always use foreach so in your example I would do. Code: {foreach from=$results key=k item=i name=foo} You can check the full list here. http://www.smarty.net/manual/en/language...oreach.php Hope this helps |
Welcome Guest, Not a member yet? Register Sign In |