MAIL PROTECTED]
SDP> Sent: 30 November 2004 17:10
SDP> To: [EMAIL PROTECTED]
SDP> Subject: Re: [PHP-WIN] While loops to build an array
SDP> Hello S.D.Price,
SDP> Your syntax is not correct, try this, instead:
SDP> if (mysql_num_rows($result3) > 0){
SDP> while ($row = mysq
AIL PROTECTED]
Subject: Re: [PHP-WIN] While loops to build an array
Hello S.D.Price,
Your syntax is not correct, try this, instead:
if (mysql_num_rows($result3) > 0){
while ($row = mysql_fetch_array($result3)) {
$days[date(j,$row3['entry_date'])] = $row3['newsid'];
Hello S.D.Price,
Your syntax is not correct, try this, instead:
if (mysql_num_rows($result3) > 0){
while ($row = mysql_fetch_array($result3)) {
$days[date(j,$row3['entry_date'])] = $row3['newsid'];
};
}
else {
echo "The array has not been built.";
};
SDP> Hi, I wonder if you
Hi, I wonder if you could help. I am trying to build a php based
calendar for a news blog. The calendar should create hyperlinks directly
to a news story. However in order to do this I need to create a $days
array which takes the date value of the story submitted and the id of
the story and creat