Example of the database code:
Current one:
Code: Select all
<?
function db() {mysql_pconnect("localhost","lsscript","tv781212");mysql_selectdb("lsscript_lstestimonials");
}
function db_close() {
mysql_close();
}
?>Code: Select all
<?
//-----------------------
// Database config
//-----------------------
// The server your databse is on. This is usually localhost
$DB_host = "localhost";
// The username used to access your database
$DB_user = "";
// The password used for this username
$DB_pass = "";
// The name of the database LS Testimonials is installed on
$DB_name = "";
// If you want to add a prefix to the table names. Otherwise
// leave blank
$DB_prefix = "lst_";
// If your database runs under a persistant connection.
// Note leave this as 0 unless you know what you are doing.
$DB_pconnect = 0;
?>