note 47430 added to ref.mysqli
| From: | mlanka at ndlovu-trust dot co dot za | Date: | Tue, 16 Nov 2004 10:54:15 +0000 |
| Subject: | note 47430 added to ref.mysqli | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-80582@lists.php.net to get a copy of this message | ||
If you are using the latest xampp:here is a method of running your mysqli_ext.
1)locate the dir \apachefriends\xampp\php
2)look for the file name:libmysqli.dll(1mb size)
3)copy the file into the php extensions folder and rename it
to 'php_mysqli.dll'
4)locate the dir apachefriends\xampp\apache\bin
5)locate the php.ini file and open it
find "Dynamic Extensions"
and then add this line on the extension list
"extension=php_mysqli.dll" then save
6)test the extension by running this script
<?
$db = mysqli_connect('localhost','root','password','database
name');
if (!$db) {
printf('cannot connect',mysqli_connect_error());
exit;
}else{
echo "connected to db ";
exit;
}
?>
----
Manual Page -- http://www.php.net/manual/en/ref.mysqli.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47430
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47430&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47430&report=yes
Search -- http://master.php.net/manage/user-notes.php