输入待寻字符串
  <?php
  require("http://php.wilson.gs");  // 回首页
  echo "http://php.wilson.gs/bible/function.php : 函数:ifx_prepare()";


函数:ifx_prepare()


ifx_prepare

准备 query 字符串。

语法: int ifx_prepare(string query, int link_identifier, int [cursor_type], mixed blobidarray);

返回值: 整数

函数种类: 数据库功能

内容说明

本函数准备 query 字符串供 Informix 接着做相关的处理。若没有指定 link_identifier 参数,则程序会自动寻找最近打开的 ID。参数 cursor_type 可省略,其值有 IFX_SCROLL 与 IFX_HOLD 二种。若有 BLOB 的字段要加在 query 指令之中,可使用 blobidarray 参数,指定 BLOB 的代码。返回值可供 ifx_do() 使用。



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序