Updates current objects variables into the database. if you supply it with a dataObject, as an argument, it will only update the differences between the new and old.
Parameter
DataObject $original - if provided the update query will be built from the difference between the current and original dataobject.
SELECT * FROM person WHERE id = 12 UPDATE person SET name='fred', age='21', eyes='blue' WHERE id = 12 SELECT * FROM person WHERE id = 12 UPDATE person SET name='fred' WHERE id = 12
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?