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_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 statement to be prepared. The string can include parameter markers by embedding question marks at the appropriate positions.

For more information about SQL statements, see SQL statements.

Returns

A statement object or FALSE on failure.

Related functions