te conectas a la DB, haces un while y listo
algo asi:
Código:
<table border="1" bordercolor="#111111" width="374" height="77" id="AutoNumber1">
<tr>
<td width="180" height="18" align="center">id_loteria</td>
<td width="162" height="18" align="center">des_loteria</td>
<td width="24" height="18" align="center"></td>
</tr>
<?
//AQUI PONES LA CONEXIÓN SQL
$sql = mysql_query("SELECT * FROM Loterias ORDER BY id_loteria DESC");
while($row=mysql_fetch_array($sql)){
echo '
<tr>
<td width="180" height="55" align="center">'.$row[id_loteria].'</td>
<td width="162" height="55" align="center">'.$row[des_loteria].'</td>
<td width="24" height="55" align="center">
<input type="checkbox" name="'.$row[id_loteria].'" value="OFF"></td>
</tr>
';
}
?>
</table>
Seguro hay mejores forma de hacerlo