Jump to content

repeat region - printer friendly columns?


Recommended Posts

Hi I have a recordset that I display on a page. It's about 64 records of only 3 fields. I want to make the page 2 columns so it can be printed on one paper from the web.

 

I tried the Looper 2 behaviour for PHP and mySQL (what I use), but unfortunately, it lists things horizontaly. I need the lists to read from top to bottom.

 

Any ideas? In other words, I need 50 percent of a recordset listed on the left side of the page, and 50 percent on the right. If only I knew how to manually edit the code in the advanced section of Dreamweaver MX 2004. Maybe that is the answer? If so, anyone have some code I could try?

 

3 columns might even be nice. (1/3 of the recordset each)...

Link to comment
Share on other sites

You must modify the array of the results in the query and output a code snippet after every other loop of the result ie </td></tr><tr><td> to divide your repeating region into 2 cells. The cycle where the code is not outputted the region will end normally with </td>

</tr>

</table>

 

If you are still struggling tommorow post here, I may have some time to help out

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.