Closing the Connection

The final step of any database application is to free the database resources it uses. In MySQL, you free your database resources through the mysql_close( ) function:

mysql_close(connection);

If you attempt to use that connection at any point after closing it, you will encounter an error.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset