while ($row = mysql_fetch_assoc($result)){
echo '<li>';
echo '<form method="POST">';
echo '<input type="hidden" name="id" value="'.$row['id'].'" />';
echo '<input type="submit" name="service_del" value="Удалить?">';
echo '</form>';
echo "<hr>";
echo '</li>';
}