PHP SQL close connection
PHP SQL close connection is used to close a connection between the PHP and SQL.
Understand with Example
The Tutorial illustrate an example from 'PHP SQL close Connection'. To understand and grasp the example we include a server side scripting code that include the usename, password, host and database to connect with the database in the backend. Once the connection is built successfully between the PHP and SQL. You can retrieve the records from SQL and send it to browser as output. The connection is closed automatically when the scripts end. To close connection we use mysql_close ( ) function.