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
https://forums.phpfreaks.com/topic/1880-repeat-region-printer-friendly-columns/
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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.