1 6:12 PM
Subject: Re: [PHP] displaing news
> Thanks Tom,
>
> I'm still a newbie at this stuff though, so can you (or anyone) look this
> over and tell me what I did wrong...
>
> //Connect to db
> $db = mysql_pconnect("localhost");
> mysql_select_db(&qu
at " . $myrow["time"] . $myrow["$tod"] . "" . $myrow["news"] .
"";
}
$lastdate=$thisdate;
}
?>
I wasn't sure how to assign the $lastdate and $thisdate variables.
- Original Message -
From: "Tom Carter" <[EM
rough outline of what you would need to do.
this is pseudocode.. I'm too tired to write correct php :)
$is_first=true;
whlie(get next result entry) {
if($is_first) {
$last-date=date of this entry;
$this-date=date of this entry;
$is_first=false;
}
if($this
3 matches
Mail list logo