Jump to content

Continuos line


Recommended Posts

I'm writting a guestbook code using PHP and MYSQL and I have a bit of a problem. When the guestbook is displayed in a table it goes in one continuous line across the table and stretching it out instead of staying in the table borders and wrapping around. How would I fix this?

 

Link to comment
Share on other sites

while($go = mysql_fetch_array($query)) {
echo "<table length = '50px' height = '100px' border = '3px' ><tr><td>";
echo $go['name']."~".$go['date']."~".$go['time'];
echo "</td></tr><tr length = '200px' height = '100px'><td>".$go['message']."<br></td></tr></table>";

}

Obviously when I'm done the table will be a bit more organized but I do things just to test them out first.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...