On 8/12/07, Alain Roger <[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to