jeudi 8 décembre 2016

Pagination stopped delete php from running

so I have a php function which lets me delete a row from the database. However I noticed it only works on the root index.php , if there is pagination (index.php?page=1 or index.php?page=2 ect), the delete function no longer works.

The delete button itself is a submit type so when its pressed it uses isset($_POST[ to check if its been pressed.

Thanks.

Aucun commentaire:

Enregistrer un commentaire