RE: Table creating function?

From: Date: Sat, 03 Nov 2001 00:41:04 +0000
Subject: RE: Table creating function?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1827@lists.php.net to get a copy of this message
I probably didn't understand what you want.... if you want a table with specific number of colums let the HTML designer made it e.g. <table> <tr> <td>1</td> <td>2</td> </tr> </table> What's the problem ? In a loop: <table> {section name=rowloop loop=$blah} <tr> {section name=colloop loop=$blah1} <td>{$blah2[rowloop][colloop]}</td> {/section} </tr> {/section} </table> It really really really depends on what you want to do > -----Original Message----- > From: Peter Bowyer [mailto:reywob@f2s.com] > Sent: Saturday, 3 November 2001 7:18 AM > To: smarty@lists.ispi.net > Subject: [smarty] RE: Table creating function? > > > At 01:55 AM 11/3/01 +1000, you wrote: > >Hi, > > > >PEAR has a Table class that does this nicely. > > The PEAR class looks nice for a programmer to use, but I think that > teaching a typical HTML coders to understand that would be > even harder than > the smarty section/if muddle :-) > > Perhaps I have a too low opinion of HTML coders... > Peter. >

« previous php.smarty.general (#1827) next »