ifx_create_char Syntax int ifx_create_char string param Description The ifx_create_char function, which is available in PHP 3.0.3 through PHP 3.0.16 along with PHP 4.0 and higher, cr
Trang 1The ifx_num_rows() function, which is available in PHP 3.0.3 through PHP 3.0.16 along with PHP 4.0 and higher, returns the number of rows already fetched by the query referenced with result_id
ifx_free_result()
Syntax
int ifx_free_result (int result_id)
Description
The ifx_free_result() function, which is available in PHP 3.0.3 through PHP 3.0.16 along with PHP 4.0 and higher, attempts to release all resources associated with the
result_id query and returns FALSE on error
ifx_create_char()
Syntax
int ifx_create_char (string param)
Description
The ifx_create_char() function, which is available in PHP 3.0.3 through PHP 3.0.16 along with PHP 4.0 and higher, creates a character object comprised of the param
parameter
ifx_free_char()
Syntax
int ifx_free_char (int bid)
Description
The ifx_free_char() function, which is available in PHP 3.0.6 through PHP 3.0.16 along with PHP 4.0 and higher, deletes the character object referenced by the bid
parameter The function returns TRUE on success and FALSE otherwise
ifx_update_char()
Trang 2Syntax
int ifx_update_char (int bid, string content)
Description
The ifx_update_char() function, which is available in PHP 3.0.6 through PHP 3.0.16 along with PHP 4.0 and higher, updates the contents of the character object referenced by the bid parameter with the contents of the content parameter It returns TRUE on success, and FALSE otherwise
ifx_get_char()
Syntax
int ifx_get_char (int bid)
Description
The ifx_get_char() function, which is available in PHP 3.0.6 through PHP 3.0.16 along with PHP 4.0 and higher, returns the contents of the character object indicated
by the bid parameter
ifx_create_blob
Syntax
int ifx_create_blob (int type, int mode, string param)
Description
The ifx_get_char() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, creates a BLOB object and returns FALSE if an error occurred and the new BLOB object ID otherwise The type parameter accepts the
value 0 for BYTE or u for TEXT The mode parameter accepts the value 0 for BLOB object content held in memory or 1 for BLOB object content held in a file The param parameter accepts 0 for a pointer to content, and 1 for a pointer to a file string
ifx_copy_blob()
Trang 3int ifx_copy_blob (int bid)
Description
The ifx_copy_blob() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, duplicates the BLOB object identified with the bid parameter The return value is the new BLOB object ID, or FALSE on failure
ifx_free_blob()
Syntax
int ifx_free_blob (int bid)
Description
The ifx_free_blob() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, deletes the BLOB object referenced by the bid
parameter, and returns TRUE on success and returns FALSE otherwise
ifx_get_blob()
Syntax
int ifx_get_blob (int bid)
Description
The ifx_get_blob() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, returns the contents of a BLOB object referenced by the bid parameter
ifx_update_blob()
Syntax
ifx_update_blob (int bid, string content)
Trang 4Description
The ifx_update_blob() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, updates the contents of the BLOB object referenced
by the bid parameter with the contents of the content parameter, and returns TRUE
on success and returns FALSE otherwise
ifx_blobinfile_mode()
Syntax
void ifx_blobinfile_mode (int mode)
Description
The ifx_blobinfile_mode() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, specifies the default BLOB mode for select statements A mode parameter value of 1 indicates save byte BLOBs in a file, and 0
indicates save byte BLOBs in memory
ifx_textasvarchar()
Syntax
void ifx_textasvarchar (int mode)
Description
The ifx_textasvarchar() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, specifies the default text mode for select statements A mode parameter value of 1 indicates to return a varchar with text content, and 0 indicates to return a BLOB ID
ifx_byteasvarchar()
Syntax
void ifx_bytesasvarchar (int mode)
Description
Trang 5The ifx_byteasvarchar() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, specifies the default byte mode for select statements A mode parameter value of 1 indicates to return a varchar with text content, and 0 indicates to return a BLOB ID
ifx_nullformat()
Syntax
void ifx_nullformat (int mode)
Description
The ifx_nullformat() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, sets the default return value for NULL data A mode parameter value of 1 indicates to return 'NULL' and 0 indicates to return ""
ifxus_create_slob()
Syntax
int ifxus_create_slob (int mode)
Description
The ifxus_create_slob() function, which is available in PHP 3.0.4 through PHP 3.0.16 along with PHP 4.0 and higher, creates and opens a SLOB object Possible
mode values are 1 = LO_RDONLY, 2 = LO_WRONLY, 4 = LO_APPEND, 8 = LO_RDWR, 16 = LO_BUFFER, 32 = LO_NOBUFFER -> or-mask You can use the number of the named constant The return value is the new SLOB object ID on success and FALSE otherwise
ifx_free_slob()
Syntax
int ifxus_free_slob (int bid)
Description