[snip] I have a text file that looks like the one below. I need to read the file into a database. I was trying the script below but is not working can you help? [/snip] Loop through with fopen and fgets http://www.php.net/fopen http://www.php.net/fgets -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php