Replace
INSERT INTO employees
with
UPDATE employees
UPDATE [LOW_PRIORITY] [IGNORE] table_references
SET col_name1={expr1|DEFAULT} [, col_name2={expr2|DEFAULT}] ...
[WHERE where_condition]
More Related Contents:
- While loop inserts three times
- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in? [duplicate]
- regarding installation of php in windows
- HTML Form/PHP connected but MySQL is empty
- Using PHP read word in textarea line by line and insert to mySQL
- Update Select Query
- How to create email notification with login users on PHP an MySQL [duplicate]
- PHP / PDO echo data from database into a table
- Error when preparing a multiple insert query
- CodeIgniter: Unable to connect to your database server using the provided settings Error Message
- What is the best collation to use for MySQL with PHP? [closed]
- mysql_fetch_array, mysql_fetch_assoc, mysql_fetch_object
- Export MySQL database using PHP [closed]
- How to add new column to MYSQL table?
- Do SQL connections opened with PDO in PHP have to be closed
- mysql select query within a serialized array
- mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in php [duplicate]
- Category Hierarchy (PHP/MySQL)
- ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it
- How to convert ISO8601 to Date format in php
- belongsToMany relationship in Laravel across multiple databases
- Algorithm for generating a random number
- return one value from database with mysql php pdo
- How can I pass an array of PDO parameters yet still specify their types?
- MySQL & PHP Parameter 1 as Resource
- Create PHP array from MySQL column
- UNION syntax in Cakephp
- How do i search from serialize field in mysql database?
- Group mysql results by category and display them into groups under each category
- PHP & mySQL: When exactly to use htmlentities?