3
I am trying to create a system for college, but I have an error when trying to connect with Mysql, I am using PHP and Xampp.
Error:
Fatal error: Call to Undefined Function mysqli_conect() in C: xampp htdocs Testing Courses connects.php on line 2
I’ve tried some solutions that worked with others but didn’t work with me:
Changes to PHP.ini:
extension_dir="C:\xampp\php\ext"
- You agree with what they say.extension=php_mysql.dll
andextension=php_mysqli.dll
- Uncoloured.- Apache reset after the amendments.
Does anyone have any idea what can be done?
Thank you in advance.
You did not set in Function mysqli_conect() the host for it to connect.
– Vinícius
You missed when typing the function. It’s not
mysqli_conect
, and yesmysqli_connect
. You missed an "n"!– user622
Really, the mistake was this same, thank you very much for the help.
– Vitor Augusto