Hello, You can use the fgetcsv() function (for uploaded text files).
http://www.php.net/manual/en/function.fgetcsv.php - E On Saturday, October 12, 2002 2:37 AM YC Nyon wrote: > I want to convert input data below (either from a webpage form or > a uploadedtext file) to a set of arrays. The final step is to construct > SQL statements to be inserted into Postgresql db (which i can do). > Anyone got sample scripts that does the 1st part. > > ID, Name, Telephone > 1, John, 34343534 > 2,Nancy, 6876767 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php