Warning: Undefined array key "field" in /home/ubuntu/www/ajax/updatepeople.ajax.php on line 8

Warning: Undefined array key "value" in /home/ubuntu/www/ajax/updatepeople.ajax.php on line 9

Warning: Undefined array key "people_id" in /home/ubuntu/www/ajax/updatepeople.ajax.php on line 10
UPDATE People SET =? WHERE PeopleID=?
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=? WHERE PeopleID=?' at line 1 in /home/ubuntu/www/ajax/updatepeople.ajax.php:16 Stack trace: #0 /home/ubuntu/www/ajax/updatepeople.ajax.php(16): mysqli->prepare() #1 {main} thrown in /home/ubuntu/www/ajax/updatepeople.ajax.php on line 16