Ok I researched EVERYWHERE on the Internet and I just can't get this to work.
In my php.ini under my WAMP php folder, I have this (enabling the extensions):
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
;extension=php_openssl.dll
Error:
Fatal error: Class 'mysqli' not found in C:\wamp\www\Elvonica\class\Database.php on line 11
I have both the .dll's enabled.
And then there is this crazy libmysqli.dll or something you're suppose to put somewhere.. I searched my whole C:/ directory for that file and it didn't find anything. I even searched for "lib" "mysql". Nothing. :/
Then they said phpinfo(); should have a MySqlI section and I can't find any so I have a feeling I don't even have mysqli extension or something. But when I look under the ext folder in the php folder of WAMP, both files are there and I have them enabled in the php.ini.
So what am I doing wrong? Thank you soooo much for anyone who can help me solve this!!