このフィールドを含むphpページがあります:
<a href src='delcat.php'>Delete</a>
Delete キーを押して delcat.php を呼び出し、同じテーブルのフィールドにあるカテゴリ ID を送信したい。誰でも私がこれに到達するのを手伝ってくれますか? ここに私の完全なテーブルコード:
<table border="0" align='center' class="styled-table">
<tr class="thh">
<th class="thh">Category Code</th>
<th class="thh">Category Name </th>
<th class="thh">Category IMage </th>
<th class="thh">Edit</th>
<th class="thh">Delete</th>
</tr>
<?php
for ($counter = 0; $row = mysql_fetch_row ($resultSet); $counter++) {
print ("<tr align='center' class='trh'>");
print ("<td align='center' class='tdh'>$row[0]</td>");
print ("<td align='center' class='tdh'>$row[1]</td>");
print ("<td align='center' class='tdh'><img src='$row[2]' width='50' height='50'></td>");
print ("<td align='center' class='tdh' width='50' align='center'><a href ='#'>Edit</a></td>");
print ("<td align='center' class='tdh' width='50' align='center'><a href ='delcat.php'>Delete</a></td>");
print("</tr>");
}