I am apparently unable to store new line (ASCII 13) character in varchar
(ASCII) from PHP (ODBC).

I create the string like this:

$newline=chr(13);
$result = "blah".$newline."huh";

If I echo the $result, I see two lines of output:

blah
huh

After I insert this to SAP DB and retrive, echo the string, I get:

blahhuh

What happened to my new line?
i have no problems using the Windows-ODBC-driver
neither ASCII 10 nor ASCII 13 gets dropped.

BTW: ACSII 13 is CarriageReturn ;-)



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to