September 2001
Intermediate to advanced
768 pages
32h 45m
English
resource odbc_do(resource conn, string query)
| conn | Connection ID |
| query | SQL statement |
Executes a SQL statement.
Returns:
Result identifier; FALSE on error
Description:
Executes a query on a database as specified by the connection ID. This is an alias for odbc_execute().
Version:
Existing since version 3.0.6
Example:
$db = odbc_connect("DSN","user","pass");
$result = odbc_do($db,"SELECT FirstName, LastName FROM Employees ORDER BY LastName");
|
Read now
Unlock full access