Re: load data in php

2010-06-01 Thread Michael Dykman
t; > F: 56-2- 2051033  Fax: 56-2-2051029 > > www.cisconsultores.cl > >  _ > > De: Mike [mailto:hiji...@gmail.com] > Enviado el: Tuesday, June 01, 2010 10:34 AM > Para: mgar...@cistrans.cl > CC: mysql@lists.mysql.com > Asunto: Re: load data in php > > > > If y

RE: load data in php

2010-06-01 Thread memo garcia
[mailto:hiji...@gmail.com] Enviado el: Tuesday, June 01, 2010 10:34 AM Para: mgar...@cistrans.cl CC: mysql@lists.mysql.com Asunto: Re: load data in php If you are using v4 of php this will never work On Tue, Jun 1, 2010 at 10:24 AM, memo garcia wrote: Hi all, I have the following script

Re: load data in php

2010-06-01 Thread Mike
If you are using v4 of php this will never work On Tue, Jun 1, 2010 at 10:24 AM, memo garcia wrote: > Hi all, > > > > I have the following script: > > Load data > > Local infile ‘myData.csv’ > > Into table myTable > > Fields terminated by ‘,’ > > Enclosed by ‘’ > > Lines terminated by ‘\r\n’ > >

load data in php

2010-06-01 Thread memo garcia
Hi all, I have the following script: Load data Local infile ‘myData.csv’ Into table myTable Fields terminated by ‘,’ Enclosed by ‘’ Lines terminated by ‘\r\n’ (field1, field2, …) When this is sourced directly from mysql it works fine, but when invoked from php, I get the error The u