mysql_db_query

 resource mysql_db_query ( string $database , string $query [, resource $link_identifier ] ) 

説明

mysql_db_query() selects a database, and executes a query on it. Warning: This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.

戻り値

Returns a positive MySQL result resource to the query result, or FALSE on error. The function also returns TRUE/FALSE for INSERT/UPDATE/DELETE queries to indicate success/failure.