Re: very strange behavior.... incomplete query performed
| From: | Tijnema | Date: | Sun, 12 Aug 2007 12:15:42 +0000 |
| Subject: | Re: very strange behavior.... incomplete query performed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260731@lists.php.net to get a copy of this message | ||
On 8/12/07, Alain Roger <raf.news@gmail.com> wrote:
> Hi,
>
> I'm still working on importing CSV file content (20.000 records) to database
> PostgreSQL.
>
> when i run the query, once i stored into my table 5218 records, another
> time 5231 another time 4713 and so on....
> every time the amount of records imported to DB is different.
>
> Do you have any idea from where it could come ?
>
> Here is my PHP code :
>
<snip>
>
> thanks a lot for any help.
>
>
> --
> Alain
Might it be that your script times out?
try setting the time limit to unlimited:
set_time_limit(0);
Apache (or w/e your server is) might still timeout, but these values
are a lot higher.. :)
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info