Forum Moderators: coopster

Message Too Old, No Replies

output code on only one line

         

ticatoc

11:52 pm on Sep 24, 2007 (gmt 0)

10+ Year Member



Hello,

With a php script I've a "echo $var" that is writting a html code on several lines.

I'd like to make this $var written in only one line. How is this possible please?

jatar_k

12:15 am on Sep 25, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



do you have \n somewhere in line? That would be a newline character. You could remove those.

other than that I would need to see the echo statement