I'm trying to create a system for college, however I'm having an error while trying to connect with Mysql, I'm using PHP and Xampp.
Error:
Fatal error: Call to undefined function mysqli_conect () in C: \ xampp \ htdocs \ Courses \ Tests \ Connecting.php on line 2
I have tried some solutions that worked with others but they did not work for me:
Changes in PHP.ini:
-
extension_dir="C:\xampp\php\ext"
- Conforms to what they report. -
extension=php_mysql.dll
andextension=php_mysqli.dll
- Uncommented. - Apache restarted after the changes.
Does anyone have any idea what can be done?
Thank you in advance.