MySQL Forums
Forum List  »  PHP

Re: Fault: Data is deleted automatically.
Posted by: Jon Stephens
Date: July 23, 2020 03:54AM

Without seeing a bit more, it's difficult to tell for sure, but it looks to me like the DELETE is executed every time the page tum-uyeler.php?sil= is loaded, even if there's nothing following "sil" in the query string. Try testing for a specific value of $_GET['sil']) rather than just whether it exists, maybe?

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Fault: Data is deleted automatically.
July 23, 2020 03:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.