Re: Array within array

From: Date: Fri, 30 Sep 2005 13:50:29 +0000
Subject: Re: Array within array
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-223468@lists.php.net to get a copy of this message
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

« previous php.general (#223468) next »