|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
zivko Smarty n00b
Joined: 27 Mar 2007 Posts: 0
|
Posted: Tue Mar 27, 2007 2:34 pm Post subject: Array help |
|
|
array(14) { [""]=> NULL ["Gra?evinarstvo i Projektovanje"]=> NULL ["Javna preduze?a i Institucije"]=> NULL ["Kompjuteri i Telekomunikacije"]=> NULL ["Kultura i Obrazovanje"]=> NULL ["Mediji i Informisanje"]=> NULL ["Osiguranja i finansije"]=> NULL ["Proizvodnja i Poljoprivreda"]=> NULL ["Saobra?aj i Vozila"]=> NULL ["Trgovina"]=> array(2) { [0]=> array(1) { ["naziv"]=> string(22) "Akomulatori i baterije" } [1]=> array(1) { ["naziv"]=> string( "Prehrana" } } ["Ugostiteljstvo, Turizam i Sport"]=> NULL ["Usluge i Zanatstvo"]=> array(5) { [0]=> array(1) { ["naziv"]=> string(10) "Izdavastvo" } [1]=> array(1) { ["naziv"]=> string(24) "Izrada,montaza namestaja" } [2]=> array(1) { ["naziv"]=> string(15) "Pogrebne usluge" } [3]=> array(1) { ["naziv"]=> string(25) "Servisi Mobilnih telefona" } [4]=> array(1) { ["naziv"]=> string(26) "Masinska i Termicka obrada" } } ["Zabave i Proslave"]=> NULL ["Zdravstvo i Nega"]=> NULL }
how to display this array in smarty....
PLZ......HELP |
|
Back to top |
|
toma Smarty Regular
Joined: 25 Apr 2003 Posts: 62
|
Posted: Fri Mar 30, 2007 5:07 am Post subject: |
|
|
You'll probably want to flip it, do a foreach iteration, etc. etc. |
|
Back to top |
|
Hielke Hoeve Smarty Elite
Joined: 06 Jan 2006 Posts: 406 Location: Netherlands
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|