bool sasql_stmt_bind_param_ex( sasql_stmt $stmt, int $param_number, mixed &$var, string $type [, bool $is_null [, int $direction ] ] )
Binds a PHP variable to a statement parameter.
$stmt A prepared statement resource that was returned by the sasql_prepare function.
$param_number The parameter number. This should be a number between 1 and sasql_stmt_param_count.
$var A PHP variable. Only references to PHP variables are allowed.
$type Type of the variable. This can be one of: s for string, i for integer, d for double, b for blobs.
$is_null Whether the value of the variable is NULL or not.
$direction Can be SASQL_D_INPUT, SASQL_D_OUTPUT, or SASQL_INPUT_OUTPUT.
TRUE if binding the variable was successful or FALSE otherwise.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |