|
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 |
|
|
J
|
jcutts author 8/21/2026 |
|
Thanks, Chris. I tried this and nothing happened. Is there something I need to adjust in it? I'm assuming it knows who the user is and what their id is. |
|
|
|
|
|
C
|
Chris Whitehead 8/24/2026 |
|
Jay, I've answered your message on PPH, drop me an email and I'll give you an hand. Chris |
|