Unclassified NewsBoard Code Reference

IDatabase.ChangeRecord function

Change a record

function IDatabase.ChangeRecord ($fields, $where = '', $table = '');

Parameters:

fields
(array) associative array ("field" => "value"...)
(string) string for SET part of SQL query.
Caller must pay attention to `-quote field names and UnbDbQuote() values as neccessary!
where  –  optional, default: ''
(string) condition of recordsets to update
table  –  optional, default: ''

Member of class: IDatabase

Implementation file: unb_lib/database.lib.php, line 700

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.