You are here: Re: [PHP] Array within array « PHP « IT news, forums, messages
Re: [PHP] Array within array

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация