I am trying to print a blob field with php using the echo function, but it prints the string all together. Do you have any idea of what might be wrong with that? I don't want to use a multi-line text box component.
echo \"$myrow[memo]\">
RIGHT
Hi,
My name is Rod
thanks
wrong*
Hi,My name is Rodthanks
Thank you
Is it doing that in text or on a web page. A web page uses <BR> to line break...that could be your problem. Also, use echo $myrow["memo"]; it's the correct way to code that line (not $myrow[memo])
Is the data formatted like this in the data base?
In that case php has a really nice tool called nl2br() (Convert a New Line to a <br>) Just write like this: echo nl2br($myrow["memo"]);
Hope this helps.
// Tobias
I will try it.
Rod