September 2001
Intermediate to advanced
768 pages
32h 45m
English
query handle mysql_query(string query, [mysql link connection])
| query | Query to use on the database |
| connection | Connection handle returned by mysql_connect() or mysql_pconnect() |
Queries the default MySQL database.
Returns:
Query handle for successful SELECT queries, TRUE/FALSE for other queries; FALSE on error
Description:
mysql_query() executes query on the default database, set using mysql_select_db() or by a previous query using mysql_db_query(), on the MySQL server connection referenced by connection . If no connection handle is specified in the connection argument, the last connection opened is used by default. If no connection is open, mysql_query() attempts to connect to a MySQL database by calling mysql_connect() without ...
Read now
Unlock full access