English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

echo "";
i am using
so it suppose to go to the next line in my text are but
instead of going to the next line it just prints
anybody knows y?

2006-06-17 08:02:16 · 2 answers · asked by aryaxt 3 in Computers & Internet Programming & Design

2 answers


is html code, the text area as far as i know understands
as ordinary text.

The php processor however does understand "\n" as I must goto the next line . I am no expert(in fact I just started learning php a few months ago ) but I used your code for one of my databases and just changed the "
" to "\n" and it worked.

You can also use "\r", "\r" tells php to insert a carriage return,
which is similar to new line. I am not 100% sure that \r and \n are the same thing, but both will work for your script.

2006-06-17 09:24:33 · answer #1 · answered by jason b 5 · 0 0

Replace "
" with "\n".

2006-06-20 12:32:04 · answer #2 · answered by Nixon 2 · 0 0

fedest.com, questions and answers