[thelist] php/mysql - inserting duplicate content

bruce bedouglas at earthlink.net
Sun Apr 12 00:30:59 CDT 2009

post your code if you haven't already solved the issue.

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org]On Behalf Of Bob Meetin
Sent: Friday, April 10, 2009 2:48 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] php/mysql - inserting duplicate content

That is definitely the problem, but I am not doing anything to call it a 
second time.  Could anything be amuck on the webserver that would foul 
up Friday like this?

Phil Turmel wrote:
> 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.  * *

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