of     2   
chevron_rightchevron_rightchevron_right

noobkid
#63507496Sunday, February 26, 2012 11:29 PM GMT

If I'm printing a multiline row value with PHP it outputs as one line; Ex; Echo "$row['Message']"; So this; 1 2 3 Turns into this; 1 2 3
noobkid
#63507840Sunday, February 26, 2012 11:35 PM GMT

Probably useless bump.
noobkid
#63508131Sunday, February 26, 2012 11:39 PM GMT

Bump.
noobkid
#63528060Monday, February 27, 2012 5:44 AM GMT

Bump.
noobkid
#63528417Monday, February 27, 2012 6:05 AM GMT

Bump.
blueymaddog
#63528456Monday, February 27, 2012 6:07 AM GMT

dude, this isn't the best place to post these problems, most of the people here only know Lua. post your problems on PHP helping forums and you'll have a better chance of getting help >.>
noobkid
#63528501Monday, February 27, 2012 6:09 AM GMT

Yea...but stravant could help :P
blueymaddog
#63528526Monday, February 27, 2012 6:10 AM GMT

me: then message him... you: *facepalm*
noobkid
#63535511Monday, February 27, 2012 4:55 PM GMT

Bump
noobkid
#63537481Monday, February 27, 2012 6:34 PM GMT

Bump
noobkid
#63539025Monday, February 27, 2012 7:45 PM GMT

Bump
noobkid
#63540679Monday, February 27, 2012 8:32 PM GMT

Bump
1waffle1
#63540906Monday, February 27, 2012 8:36 PM GMT

Echo "$row['Message\n']"; >_>
noobkid
#63543222Monday, February 27, 2012 9:19 PM GMT

That's not what I wanted, 'Message' is a the message value in a row
1waffle1
#63543780Monday, February 27, 2012 9:28 PM GMT

So what are you trying to achieve? Concatenation?
noobkid
#63544040Monday, February 27, 2012 9:33 PM GMT

Im trying to print the posts in a thread but they appear as one line..
1waffle1
#63544104Monday, February 27, 2012 9:34 PM GMT

So create a new line.
noobkid
#63544204Monday, February 27, 2012 9:36 PM GMT

You don't really get it; I have multiline text value in a row inside the database.. But when I print it to the site it stays one line
noobkid
#63544258Monday, February 27, 2012 9:37 PM GMT

And I don't know the text so I can't just add new lines manually
1waffle1
#63544421Monday, February 27, 2012 9:40 PM GMT

In Lua, it would be something like     for v in txt:gmatch("[^\n]+") do         print(v)     end If there's something like that in PHP, then use that.
noobkid
#63544792Monday, February 27, 2012 9:46 PM GMT

I'm giving another ex; I posted s thread to my forum and the following text as the message in database; Hi I'm Bob Then I'm using a loop to get all the replies of the thread and printing them to the site with this;($row as the database table row) echo "$row['Message']"; And this is what it looks after that Hi I'm Bob
1waffle1
#63544888Monday, February 27, 2012 9:48 PM GMT

echo "$row['Message']\n";
noobkid
#63545052Monday, February 27, 2012 9:51 PM GMT

That's not my point; How multiline text value can change to one line when I'm printing it.. I NEED HELP WITH THIS!
noobkid
#63574847Tuesday, February 28, 2012 2:32 PM GMT

Bump.
noobkid
#63580337Tuesday, February 28, 2012 7:41 PM GMT

Bump

    of     2   
chevron_rightchevron_rightchevron_right