mysql_db_query
mixed mysql_db_query(string database, string query, [mysql link connection])
database | Database to query |
query | Query to make on the database |
connection | Connection handle returned by mysql_connect() or mysql_pconnect() |
Queries a MySQL database.
Returns:
Query handle for successful SELECT, DESCRIBE, EXPLAIN, and SHOW queries; TRUE/FALSE for other queries; FALSE on error
Description:
mysql_db_query() executes query on database using the MySQL server connection referenced by connection . If no connection handle is specified in the connection argument, the last opened connection will be used by default. If no connection is open, mysql_db_query() attempts to connect to a MySQL database by calling mysql_connect() without arguments. ...
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.