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



bool sasql_real_query( sasql_conn $conn, string $query )

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.


$conn   The connection resource returned by a connect function.

$query   An SQL query.


TRUE on success or FALSE on failure.

Related functions