Menu
I’m having a minor problem with the formatting of the text in a guestbook.
When I fill in the text and press enter for a row change, it doesn’t show in the final post. It only makes row changes if I actually write <br> in the textarea form.
[code=html]<textarea name=”comment” cols=”40″ rows=”5″ id=”comment” class=”textbox”></textarea>
[CODE]$sql=”INSERT INTO $tbl_name(name, email, comment, datetime)VALUES(‘$name’, ‘$email’, ‘$comment’, ‘$datetime’)”;
$result=mysql_query($sql);
[CODE]
<? echo $rows[‘comment’]; ?>
Anything that I need to add for those automatic row changes?