the PHP doesn't have to be that obtrusive, with endless echo and print
statements. Turn your data into a two dimensional array $rows:
table
? foreach($rows as $row) : ?
tr
? foreach ($row as $cell) : ?
td?= $cell ?/td
? endforeach; ?
/tr
? endforeach ?
/table
On Tue, Mar 4, 2008 at
Much like how jquery keeps the javascript out of the HTML, it's so
much cleaner to keep PHP out of the HTML as well.
Have a look at the Smarty templating system for PHP. It's awesome.
-j
On Mar 4, 11:20 am, charlie [EMAIL PROTECTED] wrote:
Hi all, the application I'm attempting to write
Much like how jquery keeps the javascript out of the HTML, it's so
much cleaner to keep PHP out of the HTML as well.
Have a look at the Smarty templating system for PHP. It's awesome.
that's absolutely pointless, to start a new templating-engine-for-php-
rant ... ;)
php itself is a
I've been coding a lot of data table stuff recently and i have been
following the pattern of what the plugin inGrid does:
which is have an empty table like:
table id=Replace_Table
thead
tr
thData Column/th
thUse in Email Body/th
thTest
4 matches
Mail list logo