Help

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() . "
\n" . $query1); while(list($altID, $altt) = mysql_fetch_row($result1)){ ?> <? echo $altt; ?> <? } ?>

Kind regards

Ricard