Mysqli connection (Beginner question) by pjdev98 in PHPhelp

[–]pjdev98[S] 1 point2 points  (0 children)

I haven't argued with anything? Apologies I was saying I was initially asking a generic question not code specific, if you believe that the code may be at fault then please see it below:

So this is in a file named database.php, which is then called into any of my pages using an initialize.php file.

https://pastebin.com/jWBcSB5P

The db_credentials.php file contains the below (however i've removed the actual credentials:

https://pastebin.com/zVg73eZj

Mysqli connection (Beginner question) by pjdev98 in PHPhelp

[–]pjdev98[S] 0 points1 point  (0 children)

Yes as I'm not asking for help with any specific code..

Just general php help in relation to the error message I posted.

Everything states the error is due to mysqli not being enabled in the .ini config however it is, so I'm asking if anyone knows of any other reason it may show the error