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

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



bool sasql_stmt_bind_result( sasql_stmt $stmt, mixed &$var1 [, mixed &$var2 .. ] )

Binds one or more PHP variables to result columns of a statement that was executed, and returns a result set.


$stmt   A statement resource that was executed by sasql_stmt_execute.

$var1   References to PHP variables that will be bound to result set columns returned by the sasql_stmt_fetch.


TRUE on success or FALSE on failure.

Related functions