You are here: Re: [SMARTY] Multidimensional array in columns and rows « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Multidimensional array in columns and rows

Posted by Bertrand Zuchuat on 10/13/05 10:35

Le 12 oct. 05 à 23:57, Gary Smith a écrit :

> Aloha All,
>
> I'm trying to figure out how to put a multidimensional array into
> columns
> and rows like so. I looked at the tutorial at
> http://smarty.incutio.com/?page=SmartyColumnsTutorial but I
> couldn't figure
> out how to make it work with multidimensional arrays.

Hello,

You use this:

<table border="0" cellspacing="0" cellpadding="0">
{foreach from=$test item=item}
<tr align="left" valign="top">
{foreach from=$item item=litem}
<td>{$litem}</td>
{/foreach}
</tr>
{/foreach}
</table>

Bertrand

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация