Kindly suggest quick solutions for this project to work.

56 viewsandroid mysql php
0
Vaibhav Yawalkar | 12 xp

I have downloaded all files , installed apks on phone. Also set up xampp server. But when I try to login from first page (from PC and not from android app)  I get following errors:

Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\OES\dbconnect.php on line 2

Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\OES\dbconnect.php on line 2
Failed to connect to MySQL: php_network_getaddresses: getaddrinfo failed: No such host is known.
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in C:\xampp\htdocs\OES\weblogin.php on line 10

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in C:\xampp\htdocs\OES\weblogin.php on line 11
Wrong Username or Password !
Warning: mysqli_close() expects parameter 1 to be mysqli, boolean given in C:\xampp\htdocs\OES\weblogin.php on line 25

 

what changes should be made so that It will work at least on PC browser, can check out android app later.

Thanks in advance.