Hello everyone. 🙂
I have a page that generates the content of my database and output it in a table. It has a delete capability. I used this code to pass the id to the page that performs the deletion:
$view='admin_delete.php?id='.$row['id'];
.
.
.
<a href='$view' onclick="return confirm('Are you sure you want to delete?')"><img src='images/delete.png' /></a>
It works, and also the admin_delete.php. My problem is want to return to this page and automatically refresh the page so that the deleted item will be gone on the table presently outputted. Anyone?