select and update data in mysql php code example
Example: how to update an attribute in MySQL
UPDATE table_name
SET variable = 'changed field', variable = 'another changed field'
WHERE firstline_name = 1;
UPDATE table_name
SET variable = 'changed field', variable = 'another changed field'
WHERE firstline_name = 1;