Re: Question on ifx_prepare

From: Date: Sun, 22 Sep 2002 14:56:29 +0000
Subject: Re: Question on ifx_prepare
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969348781@lists.php.net to get a copy of this message
> The <methodsynopsis> says > > int ifx_prepare ( string query, int conn_id [, int cursor_def, mixed > blobidarray]) > > and in the text below the Parameter is called cursor_type parameter > > Which one is correct? Form the PHP source: /* ---------------------------------------------------------------------- ** int ifx_prepare(string query, int connid, ** [, int cursortype] [, array blobidarry]) ** ** $hold, $scroll are optional and valid only for select queries ** $blobidarray is optional, an array of blob id's ** ** prepares query $query on connection $connid ** select queries accept an optional cursortype param: IFX_SCROLL, IFX_HOLD (or'ed mask) ** blobsupport: mark the blob-column with ? and add a blob-id-functionparameter ** example: ifx_query("insert into catalog (stock_num, manu_code ,cat_descr, ** cat_picture) values(1,'HRO',?,?)",$cid,$bid1,$bid2); ** ** returns a "result id" on success or FALSE on error ** also sets "affected_rows for retrieval by ifx_affected_rows ** ---------------------------------------------------------------------- */ /* {{{ proto int ifx_prepare(string query, int connid [, int cursortype] [, array idarray]) Prepare a query on a given connection */ Goba

« previous php.doc (#969348781) next »