Closing MySQL connection?

Hi there,

I am new to PHP and have a little question. I know how to close a MySQL connection if I open that connection within the very PHP file from which I am trying to close it.

Consider my main PHP file called MAIN.php:

What if I do this though:

include_once "connect_to_mysql.php";

So there my connection is opened, as it goes to that PHP file and opens it.

Now, what if I wanted to close it from MAIN.php?

mysql_close();

Do I just do that?

Thank you!:hobbes: