|
C
|
Chris Whitehead 8/20/2026 |
|
If you want a simple query. $query = "UPDATE mcat_form SET counter=counter-1 WHERE user_id=" . $_SESSION['UserData']['id'];Ideally you'll want to put in some other checks so the counter can't go below 0 |
|