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

 

sasql_stmt_bind_result

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

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

Parameters

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

Returns

TRUE on success or FALSE on failure.

Related functions