Unclassified NewsBoard Code Reference

IDatabase.AddRecord function

Add a new record

function IDatabase.AddRecord ($fields, $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!
table  –  optional, default: ''

Member of class: IDatabase

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

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