Re: [PHP] passing /n into query ERROR

2012-05-31 Thread David OBrien
On Thu, May 31, 2012 at 12:55 PM, David OBrien wrote: > On Thu, May 31, 2012 at 12:46 PM, Don Wieland wrote: > >> I have a query below. When I try to run it with PHP it errors: >> >> DATABASE_ERROR: You have an error in your SQL syntax; check the manual >> that corresponds to your MySQL server v

RE: [PHP] passing /n into query ERROR

2012-05-31 Thread Mackintosh, Mike
-Original Message- From: Don Wieland [mailto:d...@pointmade.net] Sent: Thursday, May 31, 2012 12:46 PM To: php-general@lists.php.net Subject: [PHP] passing /n into query ERROR I have a query below. When I try to run it with PHP it errors: DATABASE_ERROR: You have an error in your SQL

Re: [PHP] passing /n into query ERROR

2012-05-31 Thread David OBrien
On Thu, May 31, 2012 at 12:46 PM, Don Wieland wrote: > I have a query below. When I try to run it with PHP it errors: > > DATABASE_ERROR: You have an error in your SQL syntax; check the manual > that corresponds to your MySQL server version for the right syntax to use > near 'LINES TERMINATED BY

[PHP] passing /n into query ERROR

2012-05-31 Thread Don Wieland
I have a query below. When I try to run it with PHP it errors: DATABASE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LINES TERMINATED BY '\n'' at line 38 IN BUT where I copy the echoed query and