ingres_field_length

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0) Get the length of a field int ingres_field_length ( resource $result, int $index ) ingres_field_length() returns the length of a field. This is the number of bytes the server uses to store the field. For detailed information, see the Ingres OpenAPI User Guide, Appendix "Data Types" in the Ingres documentation. Note: Related Configurations See ingres.array_ind

ingres_fetch_assoc

(PECL ingres >= 2.2.2) Fetch a row of result into an associative array array ingres_fetch_assoc ( resource $result ) This function is stores the data fetched from a query executed using ingres_query() in an associative array, using the field names as keys. With regard to speed, the function is identical to ingres_fetch_object(), and almost as quick as ingres_fetch_row() (the difference is insignificant). By default, a

ingres_fetch_object

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0) Fetch a row of result into an object object ingres_fetch_object ( resource $result [, int $result_type ] ) This function is similar to ingres_fetch_array(), with one difference - an object is returned instead of an array. Indirectly, this means that you can access the data only by the field names and not by their offsets (numbers are illegal property names). W

ingres_fetch_array

( PHP 5 <= 5.0.5, PECL ingres >= 1.0.0) Fetch a row of result into an array array ingres_fetch_array ( resource $result [, int $result_type ] ) This function is an extended version of ingres_fetch_row(). In addition to storing the data in the numeric indices of the result array, it also stores the data in associative indices, using the field names as keys. If two or more columns of the result have the same field name

ingres_errno

(PECL ingres >= 1.1.0) Get the last Ingres error number generated int ingres_errno ([ resource $link ] ) Returns an integer containing the last error number. If no error was reported 0 is returned. If a link resource is passed to ingres_errno() it returns the last error recorded for the link. If no link is passed, then ingres_errno() returns the last error reported using the default link. The function, ingres_errno(),

ingres_execute

(PECL ingres >= 1.1.0) Execute a prepared query bool ingres_execute ( resource $result [, array $params [, string $types ]] ) Execute a query prepared using ingres_prepare(). Note: Related Configurations See also the ingres.describe, ingres.scrollable and ingres.utf8 directives in Runtime Configuration. Parameters: result The result query identifier

ingres_errsqlstate

(PECL ingres >= 1.1.0) Get the last SQLSTATE error code generated string ingres_errsqlstate ([ resource $link ] ) Returns a string containing the last SQLSTATE, or NULL if no error has occurred. If a link resource is passed to ingres_errsqlstate(), it returns the last error recorded for the link. If no link is passed, then ingres_errsqlstate() returns the last error reported using the default link. The function, ingre

ingres_error

(PECL ingres >= 1.1.0) Get a meaningful error message for the last error generated string ingres_error ([ resource $link ] ) Returns a string containing the last error, or NULL if no error has occurred. If a link resource is passed to ingres_error(), it returns the last error recorded for the link. If no link is passed then ingres_error() returns the last error reported using the default link. The function, ingres_err

ingres_escape_string

(PECL ingres >= 2.1.0) Escape special characters for use in a query string ingres_escape_string ( resource $link, string $source_string ) ingres_escape_string() is used to escape certain characters within a string before it is sent to the database server. Parameters: link The connection link identifier source_string The source string

ingres_close

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0) Close an Ingres database connection bool ingres_close ( resource $link ) ingres_close() closes the connection to the Ingres server that is associated with the specified link. ingres_close() is usually unnecessary, as it will not close persistent connections and all non-persistent connections are automatically closed at the end of the script. P