php link to call another php page
- by user2086894
i have a php page which contain this field:
Delete
i want when i press on the Delete to call the delcat.php and send a categoryid which is in a field in the same table.
any one can help me to reach this please?
here my complete table code:
<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 src='#'>Edit</a></td>");
print ("<td align='center' class='tdh' width='50' align='center'><a href src='delcat.php'>Delete</a></td>");
print("</tr>");
}