|
Posted by Chris Blake on 09/30/05 16:50
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: chris@pixcel.co.za
"If a camel flies, no one laughs if it doesn't get very far." -- Paul
White
Navigation:
[Reply to this message]
|