Hi My name is Ricard

and I have a problem, I have created a php page that generates a html
dokument consisting of
a question and several answer alternatives that alters every week.

I have to make this php page into a ruby page ... and have problems with
how to make a 
while { 


} 

thing i ruby amogst other things anyone help me please

<?


   
   $datumet = date("Y-m-d");

   $query1 = "SELECT id, altText FROM digfi_alternativ WHERE frageID =
'$fridet'";
   $result1 = mysql_query($query1, $link) or die(mysql_error() . "<br>\n" .
$query1);
   while(list($altID, $altt) = mysql_fetch_row($result1)){

?>


<tr>
<td><img src="images/generaldigfi/1x1trans.gif" width="5" height="5"
border=0 alt=""></td>
<td><input type="radio" name="choice" value="<? echo $altID; ?>"></td>
<td><img src="images/generaldigfi/1x1trans.gif" width="4" height="1"
border=0 alt=""></td>
<td><font face="verdana" size="1" color="#000000"><? echo $altt;
?></font></td>
<td><img src="images/generaldigfi/1x1trans.gif" width="7" height="1"
border=0 alt=""></td>
</tr>

<tr>
<td colspan="5"><img src="images/generaldigfi/1x1trans.gif" width="5"
height="2" border=0 alt=""></td>
</tr>

<?
}
?>

Kind regards

Ricard