> Like I said, I shudder at the thought of how much this would load the server
> (especially on large rows (lots of fields) or large tables (lots of rows =
> lots of queries)), but if the layout is imperative, then maybe this is an
> option...

No load whatsoever.  You just need to think about how you are going to 
display it, not how you are going to retrieve it.  For a 3x3, instead of:

<table>
<tr><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td></tr>
</table>

you just do it this way:

<table>
<tr>
  <td>
    <table>
      <tr><td></td></tr>
      <tr><td></td></tr>
      <tr><td></td></tr>
    </table>
  </td>
  <td>
    <table>
      <tr><td></td></tr>
      <tr><td></td></tr>
      <tr><td></td></tr>
    </table>
  </td>
  <td>
    <table>
      <tr><td></td></tr>
      <tr><td></td></tr>
      <tr><td></td></tr>
    </table>
  </td>
</tr>
</table>

And just use some height and width attributes to ensure that
the rows and cells line up reasonably well.

Setting up code to output it that way is relatively simple.  Just
a twist on how you would output it otherwise.  

Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to