rinted correctly - but my echoing of array
items is not
The stuff in bold SHOULD be on a new line ...
Can you take a look and offer me more advice?
S
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: 09 February 2007 09:56 AM
To: Steven Macintyre
Subject: Re: [PHP] arr
On p, 2007-02-09 at 10:10 +0100, Németh Zoltán wrote:
> On p, 2007-02-09 at 09:24 +0200, Steven Macintyre wrote:
> > Hi all,
> >
> > I have an array ($articles) that contains content in this format
> >
> > Text
> > More text
> >
> > I am currently calling the creation of the array as such;
> >
On p, 2007-02-09 at 09:24 +0200, Steven Macintyre wrote:
> Hi all,
>
> I have an array ($articles) that contains content in this format
>
> Text
> More text
>
> I am currently calling the creation of the array as such;
>
> $articles = split("Section break", $mystring); <-- this works
>
> NOW .
# [EMAIL PROTECTED] / 2007-02-09 09:24:01 +0200:
> I am currently calling the creation of the array as such;
>
> $articles = split("Section break", $mystring); <-- this works
>
> NOW ... I need to split each item in the articles array into its own array
> (newsarray)
>
> I have tried
>
> Forea
Hi all,
I have an array ($articles) that contains content in this format
Text
More text
I am currently calling the creation of the array as such;
$articles = split("Section break", $mystring); <-- this works
NOW ... I need to split each item in the articles array into its own array
(newsarray)
On Fri, 2005-09-30 at 15:33, Emil Novak wrote:
> $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 fig
Like this?
Emil Novak, Slovenia, EU
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Greetings PHP community,
I have a CSV text file which I need to use to update existing DB
records.
So I have the following :
$array_file = file("path/to/file");
file() creates an array comprising each line of the file, but if each
line contains 20 or so CS values, how do I go about reading each
8 matches
Mail list logo