0
I have a table, where there is a field called (PAY), the default value of it is "PAY".
I made the following code, to change the VALUE "PAY" to "PAID"
$results = "UPDATE snaps SET Pagamento='PAGO' WHERE id= 27";
However, it only works, for 1(one) user ID, I wanted to know how to improve this code, for when I run it, it ask the user code(id) instead of having an ID already pre-defined in the case the "27".
Thanks to all who help.