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
Orlando, Florida, USA

MySQL Dev Zone
MySQL Server Documentation

Options: ReplyQuote

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

Sorry, only registered users may post in this forum.

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.