RE: [PHP] filter out with date?

2003-06-09 Thread John W. Holmes
> > Wouldn't it be smarter to only fill this array with items matching the > > date you want in the first place?? > How? I don't know. You do create this array at some point, right? How do you do it? How do you "create" the date field in the "ingress Object" ? Whenever/However you're creating this

Re: [PHP] filter out with date?

2003-06-09 Thread A. Lyse
"John W. Holmes" <[EMAIL PROTECTED]> wrote > Wouldn't it be smarter to only fill this array with items matching the > date you want in the first place?? How? > > Anyhow...now you'll have to loop through each "ingress Object" and see > if substr($obj->publisert,-2) matches the month you want. Dont k

RE: [PHP] filter out with date?

2003-06-08 Thread John W. Holmes
> I got the array info: on the articles: > Array > ( > [0] => ingress Object > ( > [artikkelid] => 241 > [nettstedid] => 11 > [gyldig] => 1 > [overskrift] => motorsport formel1 > [artikkellink] => art.php?artikkelid=241 >

[PHP] filter out with date?

2003-06-08 Thread A. Lyse
I got the array info: on the articles: Array ( [0] => ingress Object ( [artikkelid] => 241 [nettstedid] => 11 [gyldig] => 1 [overskrift] => motorsport formel1 [artikkellink] => art.php?artikkelid=241 [forfatternavn]