Subscribe
Duration : 1 Year
Author : mysql Tutor
Price : FREE
Tecwallet Funds available: $0
LogIn Forgot password? Create account
OR
This video will teach you how to create MySQL connection using PHP. Let me know your feedback.
Enjoy !!
$dbhost = "localhost"; //database to which the connection is to be setup
$user = "testuser"; //username
$pass = "test"; //password for the user $user
$db = "tecwallet"; //database to which we want to connect
$link = mysqli_connect($dbhost , $user, $pass) or die("Unable to Connect!" . mysqli_error($link));
mysqli_select_db($link, $db);
Comments ( To Post Your Comment Please Login First! )