[PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
Hi everyone, I'm working on converting my site to PHP/MySql. I need to figure out a way to import several thousand text files into the database while applying certain PHP functions to them. From now on, when a user submits a new document, it gets a random docid assigned to it using the

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread richard merit
No answer, but a question. I noticed you're using, in effect, two id's for each entry, a id number and a doc id number. The first is accomplished thru auto-increment. Wouldn't it be easier to us just one id number, a=LAST_INSERT_ID(id+b) and reserve the first 10k numbers (b), whatever is

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
Subject: RE: [PHP] Help with mass import to MySQL using PHP Hi, couple of questions: 1.are you doing this on a local server or a server on the internet? 2.are you looking for a direction to do this yourself or for someone to write the code? 3.are you looking for free advice

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread Clayton Dukes
CTED] Sent: Saturday, February 24, 2001 2:30 PM Subject: Re: [PHP] Help with mass import to MySQL using PHP No answer, but a question. I noticed you're using, in effect, two id's for each entry, a id number and a doc id number. The first is accomplished thru auto-increment. Wouldn't it be easier