function of mysql_close in php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
Joshi jahanvi

function of mysql_close in php

Postby Joshi jahanvi » Tue Sep 16, 2014 6:04 pm

Explain functions of mysql_close with syntax, purpose & example.


Re: function of mysql_close in php

Postby Guest » Sun Sep 28, 2014 4:51 pm

The mysql_close() function closes a non-persistent MySQL connection.


Code: Select all

[quote] mysql_close(connection)[/quote]


Code: Select all

$con = mysql_connect("localhost","mysql_database","mysql_table");
if (!$con)
  die('Could not connect: ' . mysql_error());

// some code


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 1 guest