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