How to update database table using PHP Code? [closed]

Replace

INSERT INTO employees 

with

UPDATE employees 

Update Syntax

UPDATE [LOW_PRIORITY] [IGNORE] table_references
SET col_name1={expr1|DEFAULT} [, col_name2={expr2|DEFAULT}] ...
[WHERE where_condition]

Leave a Comment