If you put 3 single column tables inside a table single row table w/ 3 col,
and decided ahead of time how many rows you wanted in each col, you could
then create the tables directly from your search action and not need an
array.  Your ending html would look like:

[table>
 [tr>
 [td>
  [table>
  [tr>[td>1[/td>[/tr>
  [tr>[td>2[/td>[/tr>
  [tr>[td>3[/td>[/tr>
  [tr>[td>4[/td>[/tr>
  [tr>[td>5[/td>[/tr>
  [/table>
 [/td>
 [td>
  [table>
  [tr>[td>6[/td>[/tr>
  [tr>[td>7[/td>[/tr>
  [tr>[td>8[/td>[/tr>
  [tr>[td>9[/td>[/tr>
  [tr>[td>10[/td>[/tr>
  [/table>
 [/td>
 [td>
  [table>
  [tr>[td>11[/td>[/tr>
  [tr>[td>12[/td>[/tr>
  [tr>[td>13[/td>[/tr>
  [tr>[td>14[/td>[/tr>
  [tr>[td>[/td>[/tr>
  [/table>
 [/td>
[/tr>
[/table>

Build this from your database search action.  You need to add some logic to
put in the table breaks at the right count.

Troy Sosamon



===== Original Message from [EMAIL PROTECTED] at 5/13/02 1:18 pm
>I am wanting to take the data coming out of a search and dynamically put the
>data in an html table vertically rather than horizontally like this:
>
>1     6     11
>2     7     12
>3     8     13
>4     9     14
>5     10
>
>
>Rather than this:
>1     2     3
>4     5     6
>7     8     9
>10    11    12
>13    14
>
>Anyone got a snippet to get me started here?
>I used to use the <MULTICOL> tag, but that is long since unsupported...
>Trying to recreate that functionality wiTango.
>
>Thx.
>
>
>--> [groundZER�]
>--> [t:o:m:c:a:r:r]
>--> [[EMAIL PROTECTED]]
>--> [847:757:4188]
>
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to