A user inserts a message into the database, then I SELECT the message and do a echo to put the message in the div. For some reason the text is going over the right border of the div
I tried using a blockquote and it worked with a random text that W3Schools had there and when I put the echo inside the blockquote it happens anyway. See on the prints:
The parts from the code:
<?php
$sql_post = "SELECT `dataTopico`,`username`,`titulo`,`mensagem` FROM `".$bd."` WHERE `idTopico`='$id_topico'";
$exePost = mysql_query($sql_post);
$post=mysql_fetch_array($exePost);
?>
<blockquote>
WWF has been protecting the future of nature. The world
leading conservation organization, WWF works in 100 countries and is
supported by 1.2 million members in the United States and close
to 5 million globally.
</blockquote>
<blockquote>
<?php echo $post['mensagem'];?>
</blockquote>
The query is right; it gets the test message but the text goes over the borders. I want it to go down like the text above.