A rewrite:
$i=0;
while($result = mysql_fetch_array($temp)) {
$news[$i]["id"] = $result["id"];
$news[$i]["name"] = $result["name"];
$news[$i]["author"] = $result["author"];
$news[$i]["content"] = $result["content"];
$news[$i]["date"] = strftime("%A %d/%m/%y", $result["date"]);
$i++;
}
Your while statement will loop throught the $temp result for all the results three times in your code.