I'm connecting to an access database thru odbc using php..
when inserting into a text(256) field, I can't seem to get a newline character up..
I have tried inserting a string such as this:
Code: Select all
$query = "
INSERT INTO tablename (fieldname)
VALUES ('line1\nline2\rline3\n\rline4\r\nline5');
";I've also tried chr(13) to make sure.
Any ideas?
Marz.[/b]