<?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() 使用。
|