Apr 1 at 8:13pm, Merlin wrote:
> I am trying to get continent and country info out of an xml file. There
> is a continent element to each country element. Now I do have an array
> with the continent info and one with the country info. The goal is to be
> able to output all countries sorted after co
Merlin wrote:
> Hi there,
>
> I am trying to get continent and country info out of an xml file.
> There is a continent element to each country element.
>
> Now I do have an array with the continent info and one with the
> country info. The goal is to be able to output all countries sorted
> afte
Hi there,
I am trying to get continent and country info out of an xml file.
There is a continent element to each country element.
Now I do have an array with the continent info and one with the country info.
The goal is to be able to output all countries sorted after continents.
So I do have:
$res
Ahem... So you want to have a two dimensional variable?
";
?>
Is this what you are looking for?
Niklas
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: 5. helmikuuta 2002 12:54
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Tricky array question
This was just an
TECTED]]
> Sent: 5. helmikuuta 2002 11:59
> To: [EMAIL PROTECTED]
> Subject: [PHP] Tricky array question
>
>
> Hi there,
>
> I have a tricky array question.
>
> My app is passing via post a array variable called glacier. Now I am
> checking for the content of this array. B
It should be $category[0] = $glacier;
^--- ERROR in you code
Niklas
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]]
Sent: 5. helmikuuta 2002 11:59
To: [EMAIL PROTECTED]
Subject: [PHP] Tricky array question
Hi there,
I have a tricky array
try using something like this:
$varname = $categories[0];
echo ${$varname}[0];
Greets,
Edward
"Andy" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hi there,
>
> I have a tricky array question.
>
> My app is passing via post a array variable called glacier. Now I
Hi there,
I have a tricky array question.
My app is passing via post a array variable called glacier. Now I am
checking for the content
of this array. Because there are more of those arrays, I am getting all the
names out of a db.
How is it possible to get the value and keep the name of the arr
8 matches
Mail list logo