<?php $array_file = file("path/to/file"); foreach($array_file as $line) { $e_array = explode(',',$line); { // do update on db for each line of array } } ?> Like this? Emil Novak, Slovenia, EU -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php