I have used mysqli
to connect to the database in my application. It worked fine for a few days and suddenly it started showing the following error:
Fatal error: Class 'mysqli' not found
The line I used to connect to the database is:
$link = new mysqli('localhost', 'uname', 'password', 'scripts');
Could you please tell me what might have gone wrong?
You have to enable mysqli extension in your php.ini
Just search for extension=php_mysqli.dll or somethig and remove the #
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With