Phpu wrote:

Hi,

I have a file, test.txt. The containig of this file is:

line 1
line 2
line 3
------
and so on

I want to create a script that will read each line of the file and insert it to database.
I am new to php and maybe you could help me


for just two columns of data this could be just a waste of effort unless you have several thousand records.

BTW as someone already mentioned to another poster you should not use PHP* as your name when posting.

Thanks





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

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



Reply via email to