|
mysql_db_querySelects a database and executes a query on it Warning
This function was deprecated in PHP 5.3.0, and it and the entire original MySQL extension was removed in PHP 7.0.0. Instead, use either the actively developed MySQLi or PDO_MySQL extensions. See also the MySQL: choosing an API guide and its related FAQ entry for additional information. Alternatives to this function include:
Description
resource mysql_db_query
( string
$database
, string $query
[, resource $link_identifier = NULL
] )mysql_db_query selects a database, and executes a query on it. Parameters
Return Values
Returns a positive MySQL result resource to the query result,
or Changelog
Examples
Example #1 mysql_db_query alternative example
<?php Notes
See Also
|