On Fri, 2005-09-30 at 15:33, Emil Novak wrote:
> <?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?

Hi Emil,

That`s exactly how I figured it out eventually....sometimes you just
need to step away from the monitor and take a break before the answer
slaps you on the forehead... :)

Thanks

--
Chris Blake 
Cell: 082 775 1492
Work: +27 11 880 2825
Fax : +27 11 782 0841
Mail: [EMAIL PROTECTED]

"If a camel flies, no one laughs if it doesn't get very far." -- Paul
White

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

Reply via email to