At 09.04.2002  14:15, you wrote:
>Hi there,
>I am wondering what to do with a word that is to long for a table field.
>What I  have is an application, where users can upload pics and give a
>so if the caption contains to long words like aaaaaaaaaaaaaaaaaaaaaaaaaaa
>whole site looks mixed up, because the table get to wide.
>Thanx for any idea
Two methods
1st cut the string using substr($var,0, 'max_length');
2nd you define your table with fixed values like width="500"
the columns should be filled wit empty gifs height="1" width="x"
until the sum of 500 is reached,. Then put your text in and
there should be a line break. (FYI This method is not recommended
by w3c)
HTH Oliver

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to