mysqli

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mathguy
-


Joined: 24 Jul 2008
Posts: 4

PostPosted: Thu Jul 24, 2008 11:11 pm    Post subject: mysqli Reply with quote

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.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group