dba_fetch()介绍
1、语法
string dba_fetch ( string $key , resource $handle )
通过指定的key获取数据
2、参数
- string $key key值
- resource $handle 数据库的handler,通过dba_open(), dba_popen() 返回
3、返回值
如果key对应的value值存在,返回data字符串,否则返回FALSE
dba_fetch()实例
$dbh = dba_open( \"./data/products\", \"c\", \"db4\" )
or die( \"Couldn\'t open data \" );
$tricorder = dba_fetch(\'Tricorder\', $dbh);
dba_close($dbh); 继续阅读与本文标签相同的文章
上一篇 :
php dba函数之dba_exists()
-
公益大数据开发和利用:我们走到哪里了?
2026-05-14栏目: 教程
-
就差一张脸了!虚拟机器人向全世界征集肖像,一经征用直接获得近百万报酬
2026-05-14栏目: 教程
-
建设5G网络的重要环节和采用两种组网方式的争议都有哪些?
2026-05-14栏目: 教程
-
谷歌新品Pixel 4推出人脸识别翻车了?其实不然
2026-05-14栏目: 教程
-
叫板百万级豪车!Aion LX到底拥有哪些硬核实力?
2026-05-14栏目: 教程
