+ 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

18th Oct 2020, 3:13 AM
Indranil
Indranil - avatar
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.
25th Oct 2020, 7:46 PM
Mawande Mbudane
Mawande Mbudane - avatar