[thelist] php/mysql - inserting duplicate content

Phil Turmel pturmel-webdev at turmel.org
Fri Apr 10 16:26:43 CDT 2009

Bob Meetin wrote:
> Thus far i've tried abut a million different things including changing 
> how the file is read line by line, but still getting duplicate database 
> entries.
> $result seems to be transparently getting double processed but I see not 
> where.  The script is lean; if anyone is up to taking a look I will put 
> up a text file.  I've written import scripts before without encountering 
> similar problems.  Maybe this is #Followfriday and I have sinned?
> -Bob

Hi Bob,

Any chance you are accidentally running the whole script twice?  (Server 

Can you try running the PHP script from a shell prompt?



More information about the thelist mailing list