ora_fetch_into是一條指令,指取得一行數據並將它放入到一個數組中。
基本介紹
- 外文名:ora_fetch_into
- 類型:程式
- 領域:計算機
- 作用:將一行數據放入數組
簡介,描述,例子,
簡介
(PHP 3, PHP 4 )
ora_fetch_into -- 將一行數據放入數組
描述
返回所取得行的列數。
例子
<?php
$results = array();
ora_fetch_into($cursor, $results);
echo $results[0];
echo $results[1];
$results = array();
ora_fetch_into($cursor, $results, ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC);
echo $results['MyColumn'];
?>