update

update

Name

update -- update a database table

Synopsis

update(table, a)

Parameters

table

Name of table.

a

A dictionary of values.

Return Type

integer

The OID of the newly updated row.

Description

Similar to insert but updates an existing row. The update is based on the OID value as munged by get. The array returned is the one sent modified to reflect any changes caused by the update due to triggers, rules, defaults, etc.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.