[thelist] php/mysql - inserting duplicate content

Kevin Timmins kipper_timmins at live.co.uk
Fri Apr 10 16:57:18 CDT 2009

Just a quick one to try,
have you tried running it without the echo? if so does it then make 

From: "Phil Turmel" <pturmel-webdev at turmel.org>
Sent: Friday, April 10, 2009 10:26 PM
To: <bobm at dottedi.biz>; <thelist at lists.evolt.org>
Subject: Re: [thelist] php/mysql - inserting duplicate content

> 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
> logs?)
> Can you try running the PHP script from a shell prompt?
> HTH,
> Phil
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list