Following the tutorials on this site when I try to connect to my mysql database with mysqli_connect('localhost', 'root', 'password'); I get the following error:
Fatal error: Call to undefined function mysqli_connect()
I am running windows Vista, PHP 5.3.3 and Apache 2.2.
My php.ini file is allowing the "php_mysqli.dll" extension and I've uncommented the 127.0.0.1 line in my windows hosts file as some people have suggested.
Finally I've tried swapping "localhost" with "127.0.0.1" in my PHP script and have still had no luck.
I've searched every forum I can find and have run out of things to try.