here is the code. do I have to change anything in the "for" section?
$result = mysql_query("select * from ph24_news order by date desc limit 3") or die ("could not read news database");
$num =mysql_num_rows($result);
for ($i=0 ; $i<$num; $i++)
{
$titel = mysql_result($result, $i, "titel");
$text = mysql_result($result, $i, "text");
$url = mysql_result($result, $i, "url");