mathguy -
Joined: 24 Jul 2008 Posts: 4
|
Posted: Thu Jul 24, 2008 11:11 pm Post subject: mysqli |
|
|
Forgive me if this post is redundant. I tried posting last night, and I still don't see the post, so I'm gonna try this again.
I've been trying to use the following script, which invokes mysqli.dll:
<?php
$mysqli=new php_mysqli("127.0.0.1","root","be02172002") or die("Could not connect");
echo "Connected Successfully";
?>
But I get a fatal error, saying
Fatal error: Class 'php_mysqli' not found in C:\Program Files\Abyss Web Server\htdocs\mysqlconnect1.php on line 2
Both of the extensions in the php.ini file are uncommented. And php_mysql.dll is working, because I can run the following script:
<?php
$link=mysql_connect('127.0.0.1','root','be02172002') or die('Could not connect');
echo "Connected Successfully";
mysql_close($link);
?>
But no matter what I try (I've tried everything I could find online), I can't get mysqli.dll to work. |
|