php - Foreach help in smarty -


i new smarty , need foreach in it. have array $results has 2 keys 1 times can have values 1 ten , key called home can have value in it. trying find mod value 2 , print corresponding home value. can please me this. appreciated

what not understand http://www.smarty.net/docsv2/en/language.function.section.tpl


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -