[jQuery] Re: help with a strategy?

2008-03-05 Thread Michael Ray
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

[jQuery] Re: help with a strategy?

2008-03-05 Thread J Moore
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

[jQuery] Re: help with a strategy?

2008-03-05 Thread h0tzen
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

[jQuery] Re: help with a strategy?

2008-03-04 Thread MorningZ
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