sasql_real_query

Prototype
bool sasql_real_query( sasql_conn $conn, string $query )
Description

Executes a query against the database using the supplied connection resource. The query result can be retrieved or stored using sasql_store_result or sasql_use_result. sasql_field_count can be used to check if the query returns a result set or not.

Parameters

$conn   The connection resource returned by a connect function.

$query   An SQL query.

Returns

TRUE on success or FALSE on failure.

Related functions