> > OK, so it's just the other way round - I see. Instead of deleting the
entry
> > with the highest expiry date we delete all the others:
> >
> > foreach ($foo as $key => $value) {
> >
> > $tempArray = array();
> >
> > foreach ($value as $subkey => $subvalue) {
> >
> >
Torsten Roehr wrote:
Well, it does some sorting, but not quite what I'm after :(
I've managed to get the list so that all the (sub) entries are sorted in
the correct order. Now its just a matter of finding the highest expire
date for /each/ domain, and delete the other entries for that domain.
S
> Well, it does some sorting, but not quite what I'm after :(
>
> I've managed to get the list so that all the (sub) entries are sorted in
> the correct order. Now its just a matter of finding the highest expire
> date for /each/ domain, and delete the other entries for that domain.
> So, in the e
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Greetings everyone :
Having a hard time with this one. I have a multi-dim array
$foo[$x][$y]['key']
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Torsten Roehr wrote:
>
> > "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>Greetings everyone :
> >>
> >> Having a hard time with this one. I have a multi-dim array
> >>$foo[$x][$
Torsten Roehr wrote:
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Greetings everyone :
Having a hard time with this one. I have a multi-dim array
$foo[$x][$y]['key'], where $x and $y are numeric. Here is some sample data
[ snipped ]
I need to filter the results
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Greetings everyone :
>
>Having a hard time with this one. I have a multi-dim array
> $foo[$x][$y]['key'], where $x and $y are numeric. Here is some sample data
:
>
> Array
> (
>
> [$x] => Array
> (
>
I found this Great PHP Starter site check it out
http://www.htmlite.com/PHPintro.php
"Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> I have an array that looks like this:
>
> $i = 0;
> $item[$i] = array( 'link' => 'http://...',
>'image
never done it, but check out:
http://www.php.net/manual/en/function.array-multisort.php
On Sat, 8 Feb 2003, Zydox wrote:
> My question is if anyone have any idé on how to sort this array so that the
> names and ages are sorted after Close Friend, Friend, Wife and last
> Family...
>
> $A[] = arra
9 matches
Mail list logo