CSV file
| From: | Alain Roger | Date: | Wed, 24 Jun 2009 12:05:00 +0000 |
| Subject: | CSV file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-294520@lists.php.net to get a copy of this message | ||
Hi,
i would like to import the content of a CSV file into my database.
but in order to show a progress bar to user (to let him know that process
is still working on) i would like to determine before to start, how many
records / lines are in the CSV file.
is there a way to do that ?
thanks a lot.
--
Alain
-----------------------------------------------------------
Windows XP x64 SP2 / Fedora 10 KDE 4.2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008