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