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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » SQL Anywhere PHP API reference



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

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.


$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.


TRUE on success or FALSE on failure.

Related functions