|
mysql_db_querySelects a database and executes a query on it Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more 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. Warning
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged. 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
|