while($row = mysql_fetch_array($retval, MYSQL_ASSOC))
{
echo "<tr>";
echo "<td><p>{$row['tittel']}</p></td>";
echo "</tr>";
echo "<tr>";
echo "<td><textarea rows='1' cols='64' style='no-resize;'>{$row['video']}</textarea></td>";
echo "<td><form method='GET' action='delete.php'>";
echo "<input type='hidden' name='delete_id' value='{$row['id']}'/>";
echo "<input type='submit' name='submit' value='Delete' style='margin-bottom: 30px;'>";
echo "</form></td>";
echo "</tr>";
}
这可能是基本的东西,但我仍在学习。
先感谢您!