mysql_close()

This function closes the previously opened MySQL connection. Here is its syntax:

void mysql_close(MYSQL *mysqlObject)

It de-allocates the connection handler that's represented by the mysqlObject parameter. The function returns no value.

This covers the functions that we need to know for using the MySQL database for our recipes. From the second recipe onward, we will be working on a database table. So, let's get started and create a database and a table inside it.

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

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