I have a table, where there is a field called (PAYMENT), the default value of it is "PAY".
Imadethefollowingcodetochangethe"PAY" VALUE to "PAYMENT"
$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, so when I run it, it asks for the user ID (id), instead of having an ID already pre-defined in the case the "27".
Thanks to all who help.