Database connection php mysql code

Database connection php mysql code
$servername = “localhost”;
$username = “username”;
$password = “password”;
$conn = mysql_connect($servername, $username, $password);

To select a database

mysql_select_db($con,”mydatabse”);

My Thought

Your email address will not be published. Required fields are marked *

Our Tool : hike percentage calculator