I was trying to run a SQL query in PHP. I was using mysqli command to connect to the database to retrieve data.
However, I ran into an error while loading the PHP file as –
Fatal error: Uncaught Error: Class 'mysqli' not found
This is how I solved it…
This error will appears if ‘mysqli’ is not installed in your local machine running on Windows.
To install ‘mysqli’ in PHP in Windows machine, follow these steps.
I hope you will find this post helpful.
Streamline your sales process and increase productivity