0
You can do this easily in Phpmyadmin, I made an example, copy it the way it is.
To change the PAGAR
for PAGO
, do:
UPDATE tabela SET Pagamento='PAGO' WHERE id='1';
Where tabela
you complete with your table name and 1
the user you want to change from.
I recommend creating a type column
TINYINT(1)
calling forpago
, where you record0
for items payable and1
for paid items. If you want to display something else (like "pay" for zero value), do this on your front end, not in the database.– bfavaretto