Ok, im gonna create a include, for my database connection, just a couple of quries...
Firstly, creating a connection....is this ok for it:
<?php
//Database connection
$user="";
$host="";
$password="";
$database = "";
//If fail to connect, error
$connection = mysql_connect($host,$user,$password)
or die ("Couldn't connect to server");
$db = mysql_select_db($database,$connection);
?>
And finally, you have it as a include file in the php script u want it included to, now, do you either have the
mysql_close();
function in the include file, or at the end of the php file you have the database connection included in?
Hope that all make sense, and i know its a dunse question