on 22/03/03 3:57 PM, Philip J. Newman ([EMAIL PROTECTED]) wrote:
> $my_data = "This is a really long string that could go on for ever and ever
> and ever and ever and ever and ever and ever and ever and ever and ever and
> ever and ever and ever and don't wrap to my table it makes it bigger";
>
>
$my_data = wordwrap( $my_data, 50 );
http://www.php.net/manual/en/function.wordwrap.php
it'll wrap after 50 charcters... change "50" to what you want it to start
wrapping at. If $my_data is inside a it should wrap the text
automatically unless you tell the table not to wrap ..
cheers,
- Sebastia
2 matches
Mail list logo