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

 

sasql_stmt_bind_param

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

Binds PHP variables to statement parameters.

Parameters

$stmt   A prepared statement resource that was returned by the sasql_prepare function.

$types   A string that contains one or more characters specifying the types of the corresponding bind

$var   The variable references.

Returns

TRUE if binding the variables was successful or FALSE otherwise.

Related functions