//$conn = mysql_connect("localhost","root","");
//$conn = mysql_connect(":/softbitsolution.com","softbits","g#eWPdgizFLM");
//$conn = mysql_connect("localhost","softbits_db","RK5obqG81QXf");
//if (!$conn)
// {
// die('Could not connect to Database: ' . mysql_error());
// }
//mysql_select_db("smarticctv_db", $conn);
//mysql_select_db("smarticctv_db", $conn);
if($_SERVER['SERVER_NAME']=='localhost'){
mysql_connect('localhost','root', '') or die ('Could not connect to server');
mysql_select_db('smarticctv_db') or die ('Database not found2');
$baseurl = "http://localhost/xampp/smarticctv.com";
}else{
mysql_connect('localhost','smarticctv_root', 'cBV(Hd$9c&G6') or die ('Could not connect to server');
mysql_select_db('smarticctv_db') or die ('Database not found');
$baseurl = "https://smarticctv.com";
}
mysql_query('SET character_set_results=utf8');
mysql_query('SET names=utf8');
mysql_query('SET character_set_client=utf8');
mysql_query('SET character_set_connection=utf8');
mysql_query('SET character_set_results=utf8');
mysql_query('SET collation_connection=utf8_general_ci');
?>
Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/smarticctv/public_html/index.php on line 296
Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/smarticctv/public_html/index.php on line 296
Warning: mysql_query(): A link to the server could not be established in /home/smarticctv/public_html/index.php on line 296
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/smarticctv/public_html/index.php on line 297