Re: [php-list] Re: Importing a flat pipe delimited file into a MySQL data table

2006-05-16 Thread James Keeline
> > list($email,$first,$last) = split("|",$line); --- Marian Briones <[EMAIL PROTECTED]> wrote: > Split wouldn't do it but explode did. I guess that makes sense since split()'s separation string can be a regular _expression_.  It appears that explode()'s cannot.  Hence, to make this

[php-list] Re: Importing a flat pipe delimited file into a MySQL data table

2006-05-16 Thread Marian Briones
Split wouldn't do it but explode did. --- In php-list@yahoogroups.com, "Marian Briones" <[EMAIL PROTECTED]> wrote: > > Hi James > > The code **looks** like it should work, I modified it as I need to so > it would address my db but it is giving me an empty string : > > Warning: split(): REG_EM

[php-list] Re: Importing a flat pipe delimited file into a MySQL data table

2006-05-16 Thread Marian Briones
Hi James The code **looks** like it should work, I modified it as I need to so it would address my db but it is giving me an empty string : Warning: split(): REG_EMPTY and the line number. I have an absolute path noted where to get the data file and the data file is there.  It's also giving