Mysql
PHP Manual

Changelog

The following changes have been made to classes/functions/methods of this extension.

VersionFunctionDescription
5.3.0mysql_db_queryThis function now throws an E_DEPRECATED notice.
 mysql_escape_stringThis function now throws an E_DEPRECATED notice.
5.0.0mysql_fetch_objectAdded the ability to return as a different object.
4.3.7mysql_list_tablesThis function became deprecated.
4.3.0mysql_connectAdded the client_flags parameter.
 mysql_escape_stringThis function became deprecated, do not use this function. Instead, use mysql_real_escape_string.
 mysql_pconnectAdded the client_flags parameter.
4.2.0mysql_connectAdded the new_link parameter.
4.0.6mysql_db_queryThis function is deprecated, do not use this function. Use mysql_select_db and mysql_query instead.

Mysql
PHP Manual