Hello World...!
Newbie at PHP.
Was following this tutorial @ http://www.tanguay.at/installPhp5.php5?step=16&PHPSESSID=ae6a155b81fe6981431e81269fcf8cac when suddenly came across with this error:
Fatal error: Class 'mysqli' not found in C:\webs\test\testmysql41.php on line 3
Following the tutorial I created the database "demo" and the testmysql41.php file. (Just a cut and paste):
<?
$mysqli = new mysqli('localhost','root','admin');
$mysqli->select_db('demo');
$result = $mysqli->query("SELECT * FROM members");
while($row = $result->fetch_assoc()) {
print $row['firstName'] . ' ' . $row['lastName'] . '<br/>';
}
$result->close();
?>
Followed the tutorials' instructions and checked out most of the posted comments on possible problems with no avail.... mysqli.dll is in the c:\php folder like it instructs and the php.ini file updated with the extension=php_mysqli.dll inserted without the semi-colon. Still getting this problem.
Any help is appreciated.