displaying my database

tripmonstetripmonste BeginnerLink Clerk
echo "<table width='70%'><tR><tD>name</tD><td>" .$row;
echo "</td></tr><tr><tD>email</td><td>" .$row;
echo "</tD></tR><tR><td>" .$row;
echo "</td></tr></table>";
}


it works fine, the only thign is... im constructing a news systsem (of course from scatch lmao) and well when you enter so many words for the news it wont wrap around, you knwo what i mean? i even put the table tag in it to make it only 70% of the window but... of course you can see that doesnt work if you look at this:

http://tripmonster.host-dot.com/hostile/game/last.php

Comments

  • tripmonstetripmonste Beginner Link Clerk
    is there not a way around this? should i just use the database for the user information and an fopen/fwrite function to a txt file to diaply the news part?
  • tripmonstetripmonste Beginner Link Clerk
    ok.. what im trying to get at is....

    is there a way that anyone here knows of to where when i display data from my database to make it break after a certain amount of words. so if my data has 1024 characters (random number BTW) and i want it to insert a newline after every 67 or so words?
  • tripmonstetripmonste Beginner Link Clerk
    i guess nobody here knows.
Sign In or Register to comment.