I am trying to call a function within a php file that will fire a query to delete a row from a table and the database but can't seem to get it working
here is the button:
<td><a href="../service/deleteModule.php?id='.$row['id'].'"><img src="..https://waybackassets.bk21.net/img/delete.png" height='25' onclick="delete()" width='25' alt='delete'/></a></td>
<a>
tag seems wrong. Assuming this code is inside a<?php
fix it with:<a href="../service/deleteModule.php?id=".$row['id']." ">
– bcesars Mar 2 '15 at 20:14