# PHP 函数:dba\_insert()

**URL:** <https://www.isharkfly.com/t/php-dba-insert/4559>\
**Category:** PHP\
**Created:** [October 7, 2012, 4:52am UTC](https://www.isharkfly.com/t/php-dba-insert/4559 "2012-10-07T04:52:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 7, 2012, 4:52am UTC](https://www.isharkfly.com/t/php-dba-insert/4559/1 "2012-10-07T04:52:02Z")

</div>

dba\_insert

加入资料。

语法: boolean dba\_insert(string key, string value, int handle);

返回值: 布尔值

函数种类: 数据库功能

内容说明

本函数将加入资料至数据库中。参数 key 为键值 (key) 字符串。参数 value 为欲加入的资料内容。参数 handle 为打开数据库时所返回来的代号 ID。成功则返回 true 值。
