DEV Community

[Comment from a deleted post]
Collapse
 
simonscholz profile image
SIM • Edited

One more question,

Did you wrote exactly "msqli_connect" or did you wrote "mysqli_connect"?

Maybe you have a spelling mistake.

Collapse
 
ramseyrama555 profile image
Ramsey Rama

I have edited the exact php.ini but still getting the same error sir

Collapse
 
ramseyrama555 profile image
Ramsey Rama

What do you mean by this because am seeing the same exact "mysqli_connect" in your statement

 
simonscholz profile image
SIM

In your post above you wrote that you've enabled the "msqli" extension (it should be "mysqli").

Did you copied the error: "call to undefined function msqli_query() "

If yes, check that you have "mYsqli" every where not "msqli" (You missed the Y)

See: php.net/manual/en/mysqli.query.php

Simon

 
ramseyrama555 profile image
Ramsey Rama

Yes got tired of searching endless.... I just backed up my htdocs files, databases, uninstalled Xampp and msql and deleted everything, reinstalled afresh n it's now working, guess the problem was some configuration problems that wasted my time, thanks for the reach out, the referenced link did really help to understand everything

Collapse
 
ramseyrama555 profile image
Ramsey Rama

Come to think of it, you were right the whole time, l had actually written "msqi" instead of "mysqli", wasn't paying attention well enough to my typos 😅😅, this has actually made me uninstall my local sever it was actually a simple typo error... Thanks buddy... I Will be more careful on typos