PHP MySQL Connect
Since PHP 5.5, mysql_connect() extension is deprecated. Now it is recommended to use one of the 2 alternatives.
PHP mysqli_connect() function is used to connect with MySQL database. It returns resource if connection is established or null.Syntax
PHP mysqli_close() function is used to disconnect with MySQL database. It returns true if connection is closed or false.Syntax
PHP MySQL Connect ExampleExample
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week