Hi guys,
I've to pass a bidimensional numeric array to the template in a foreach cycle. In this way I want to list the possible couple of coordinates to recenter the map, I'm able to pass a monodimensional array, but It's not enogh. Could you please   suggest me anything ?

My code :

in php i've $coordinates[][]

and in drawUserForm I set:

$smarty->assign('coordinates',this->coordinates);

in the template, I've to modify the following piece of code which works for a simple array:

{foreach from=$coordinates item=xp1}
  x: {$xp1} <br>
{/foreach}

Thanks in advantage and best regards

 

----
Email.it, the professional e-mail, gratis per te: clicca qui

Sponsor:
Problemi di Liquidità? Con Logos Finanziaria 30.000 € in 24 ore a dipendenti e lavoratori autonomi con rimborsi fino a 120 mesi clicca qui
Clicca qui

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to