Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input:
- {foreach from=$categories item=i name=categories }
- {$i.name}
- {/foreach}
- output:
- Web Hosting VPS Hosting Reseller Hosting Web Design SSL Certificates
- input:
- {foreach from=$categories item=i name=categories }
- {if $i.name=="Web Hosting"}test{/if}
- {/foreach}
- output:
- test 1 word in every page of category
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement