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_prepare

Prototype
sasql_stmt sasql_prepare( sasql_conn $conn, string $sql_str )
Description

Prepares the supplied SQL string.

Parameters

$conn   The connection resource returned by a connect function.

$sql_str   The SQL string to be prepared. The string can include parameter markers by embedding question marks at the appropriate positions.

Returns

A statement object or FALSE on failure.

Related functions