+ 1
Plz any one help me to connect a new database connection
I have also attachment with the question https://www.sololearn.com/post/681106/?ref=app
1 Resposta
0
PHP code to establish connection to SQL database (WAMP):
$connection = mysqli_connect('server', 'username', 'password', 'database');
if($connection == false){
die("Error: Connection to database failed".mysqli_connect_error());
}else{
echo "Connection to database successful.";
}
Hope this will help you.