Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference

 

sasql_stmt_send_long_data

Prototype
bool sasql_stmt_send_long_data( sasql_stmt $stmt, int $param_number, string $data )
Description

Allows the user to send parameter data in chunks. The user must first call sasql_stmt_bind_param or sasql_stmt_bind_param_ex before attempting to send any data. The bind parameter must be of type string or blob. Repeatedly calling this function appends on to what was previously sent.

Parameters

$stmt   A statement resource that was prepared using sasql_prepare.

$param_number   The parameter number. This must be a number between 0 and (sasql_stmt_param_count() - 1).

$data   The data to be sent.

Returns

TRUE on success or FALSE on failure.

Related functions