mysql_db_query(database_name,query[,link_identifier][,result mode])

Description: Selects a MySQL database and sends a query to it in the same way as mysql_query().

Note: Deprecated as of PHP 4.0.6, so its use is not recommended. mysql_select_db() and mysql_query() should be used instead.

See also: mysql_query(), mysql_select_db()

Get Sams Teach Yourself MySQL in 21 Days, Second Edition 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.