Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-25 Thread tedd
At 10:55 AM -0400 7/25/06, tedd wrote: At 12:46 AM -0400 7/25/06, Michael B Allen wrote: Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Granted, and no offense, it isn't simple the way you've attempted it. You simply have three columns with these cond

Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-25 Thread tedd
At 12:46 AM -0400 7/25/06, Michael B Allen wrote: Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Granted, and no offense, it isn't simple the way you've attempted it. You simply have three columns with these conditions: 1. Is gray if odd; 2. Is a time

Re: [PHP] SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Michael B Allen
Ok, I've been tinkering a little. This isn't "simple" but it's not a lot of code either. Basically the user supplies an array of "cell renderers" associated with column names. Each renderer is a function name that will be called to modify an array() representing an HTML TD element. The result is p