函式:dba_replace() |
dba_replace更动或加入资料。 语法: boolean dba_replace(string key, string value, int handle); 传回值: 布林值 函式种类: 资料库功能
本函式更动资料库中的资料,若资料不存在则加入。参数 key 为键值 (key) 字串。参数 value 为欲更动的资料内容。参数 handle 为开启资料库时所传回来的代号 ID。成功则传回 true 值。
dba_exists() dba_fetch() dba_delete() dba_insert()
|