In my website I am making I have a comment box, and I would like to know how I can get the comment to automatically do a line break instead of going of the page when I echo the comment out form the MySQL data base. Here is and example of the echo statement.
echo '<center>' . '<font color="blue">' . $name . '</font>' . '<br />' . $comment . '<br />' . '</center>' . $date . '<br />';
The "$comment" is what I want to automatically break. Can you help me?
echo '<center>' . '<font color="blue">' . $name . '</font>' . '<br />' . $comment . '<br />' . '</center>' . $date . '<br />';
The "$comment" is what I want to automatically break. Can you help me?
Comment