Fatal Error Message while using mysql while uploading images [message #1858342] |
Wed, 29 March 2023 17:29 |
kiwis brown Messages: 1 Registered: March 2023 |
Junior Member |
|
|
I have a web development project where i need to create a page were the user can upload an image to a gallery and i am trying to use php an XAMPP to make it but i know nothing of javascript or php i tried a code that i saw online but when i try it, it sends this error:
Fatal error: Uncaught mysqli_sql_exception: No database selected in C:\xampp\htdocs\image\upload.php:41 Stack trace: #0 C:\xampp\htdocs\image\upload.php(41): mysqli->query('INSERT INTO ima...') #1 {main} thrown in C:\xampp\htdocs\image\upload.php on line 41 filmplus apk i know that the error goes to line 41 but i do not know how to fix it and i have tried searching for it but i really dont know anything.
[Updated on: Thu, 30 March 2023 09:34] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02445 seconds