This example illustrates how to use the WHERE clause in the UPDATE query in PHP.
This example illustrates how to use the WHERE clause in the UPDATE query in PHP.This example illustrates how to use the WHERE clause in the UPDATE query in PHP.
In this example we create a UPDATE query with WHERE clause to update the field emp_name where name is 'amar'. In the figure below the first figure show before update the table and the second figure show after update the table.
Table: emp_table before update

Table: emp_table after update

Source Code of update_where.php
<?php
|
Output:
