即時通訊嘗試傳遞要編輯的另一種形式的特定數據的信息,即edit_doc.php。但是,當我點擊「編輯」它似乎沒有工作。只有edit_doc.php會打開,但信息不會顯示。代碼中是否有任何錯誤?請幫忙。將ID傳遞給另一種形式
[PHP]
echo "<table border='1'>
<th>File Reference No.</th>
<th>File Name</th>
<th>Owner</th>
<th>iShare URL</th>
<th>Edit</th>
<th>Borrow</th>
<th>Delete</th>
</tr>";
while ($rows = mysql_fetch_assoc($run))
{
echo "<tr>";
echo "<td>". $rows['file_ref'] ."</td>";
echo "<td>". $rows['file_name'] ."</td>";
echo "<td>". $rows['owner'] ."</td>";
echo "<td>". $rows['url'] ."</td>";
echo "<td><a href=edit_doc.php?id=<?php $['id']; ?>" . "Edit" . "</a></td>";
echo "</tr>";
}
echo "</table>";
[/ PHP]
謝謝。
它的工作原理!謝謝你! ;) – yash 2010-10-13 09:17:03
你知道你的線和我的線之間的區別嗎? – Salandur 2010-10-13 09:51:27