sasql_prepare

Prepares the supplied SQL string.

Prototype

sasql_stmt sasql_prepare( sasql_conn $conn, string $sql_str )

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.

Returns

A statement object or FALSE on failure.