2021年4月23日星期五

i have tried to solve this problem, on how to write the code, in order to connect to my database and it is bring the error, this is the error assist

Fatal error: Uncaught ArgumentCountError: mysqli_select_db() expects exactly 2 arguments, 1 given in C:\Users\davies kasansaika\Desktop\Xampp\htdocs\courier managament system\database.php:11 Stack trace: #0 C:\Users\davies kasansaika\Desktop\Xampp\htdocs\courier managament system\database.php(11): mysqli_select_db('courier managam...') #1 C:\Users\davies kasansaika\Desktop\Xampp\htdocs\courier managament system\library.php(2): require_once('C:\Users\davies...') #2 C:\Users\davies kasansaika\Desktop\Xampp\htdocs\courier managament system\add-courier.php(3): require_once('C:\Users\davies...') #3 {main} thrown in C:\Users\davies kasansaika\Desktop\Xampp\htdocs\courier managament system\database.php on line 11

https://stackoverflow.com/questions/67238304/i-have-tried-to-solve-this-problem-on-how-to-write-the-code-in-order-to-connec April 24, 2021 at 08:38AM

没有评论:

发表评论