How <br>'s can be inserted?
Posted: Thu May 02, 2002 6:25 am
Hi all;
the problem, I have , has an easy solution, I think.
I have a test area in my code..
And when something submitted to this form, and added to a table (akyor) via following code.
The problem is that, when I displayed these notes in a html file, the browser displays them continuously; I mean when I use <enter> and start a new line in submitted text, in html file, there is no such a new line.
I know the solution is easy, but I can not find a way to replace <enter>'s with <br>'s.
Thanx all.
the problem, I have , has an easy solution, I think.
I have a test area in my code..
Code: Select all
<textarea name="notes" cols=60 rows=10></textarea>Code: Select all
$result = mysql_query ("INSERT INTO akyor (NOTES, DATE, TIME)
VALUES ('$notes', '$str_date', '$str_time') ");I know the solution is easy, but I can not find a way to replace <enter>'s with <br>'s.
Thanx all.