Re: [php-list] The big picture: import a textarea into db tables

2006-01-09 Thread Bob
Hi Marion, Marian Briones wrote: > I need to strip out the following: ", $ and , > $sql = "insert into testglenmoor values (0,'". > implode("','", $arr) ."')"; > mysql_query($sql); > echo $sql ."\n"; > So what I get is one big whopping insert wi

Re: [php-list] The big picture: import a textarea into db tables

2006-01-09 Thread James Keeline
--- Marian Briones <[EMAIL PROTECTED]> wrote: > My old system used a perl script to read a | delimited file and pour > the content into a database. > > Now, I made a system that uploads the file and pours it in. I am > trying to now modify it further to make it NOT upload a file, but take > the

[php-list] The big picture: import a textarea into db tables

2006-01-09 Thread Marian Briones
My old system used a perl script to read a | delimited file and pour the content into a database. Now, I made a system that uploads the file and pours it in. I am trying to now modify it further to make it NOT upload a file, but take the file contents from a text area and each line is one record