Where are you getting $id from? Because that variable is wrong. It's updating the wrong row.
Where are you getting $id from? Because that variable is wrong. It's updating the wrong row.
The id is set in a cookie when the page loads. And when the page unloads, it calls this other php script that retrieves the info in the cookie.
Wait so do you have a solution to this now?
Thanks