> 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



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to