prathamtawde
Broken In
Dear Digiterzz!!
I'm trying to create a connection between mySQL database through PHP but I'm not able to do so..
Check out the following code:
<?php
$dbhost = 'mysql2.freehostia.com';
$dbuser = 'db_User';
$dbpass = 'admin';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql');
$dbname = 'db_Rakshak';
mysql_select_db($dbname);
?>
Please help!!
Thanks
I'm trying to create a connection between mySQL database through PHP but I'm not able to do so..
Check out the following code:
<?php
$dbhost = 'mysql2.freehostia.com';
$dbuser = 'db_User';
$dbpass = 'admin';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('Error connecting to mysql');
$dbname = 'db_Rakshak';
mysql_select_db($dbname);
?>
Please help!!
Thanks