Wrap SQL output

This seems so easy but yet I can’t figure it out…

How would I use PHP to wrap the SQL output from my database. I have tried:

<div class="regioninfo"> <?php echo wordwrap($option['important'],100);?></div>

I just want the output from the SQL to wrap inside thee DIV

Any ideas?

Nevermind… clearly I need to read the whole section on wordwrap before posting. Sorry

I used [php]<?php echo wordwrap($option['important'],25, "\n", true);?>[/php]

Just in case anyone else ever has this problem

Sponsor our Newsletter | Privacy Policy | Terms of Service