|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-14 08:18 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 04:00:01 2025 UTC |
Description: ------------ the php_mysqli.dll is not being located. Things done: I uncommented the extension=php_mysql.dll, extension=php_mysqli.dll(actually added it to the php.ini file). Placed the libmysqli.dll,libmysql.dll,php_mysqli.dll in the windows/system32/ directory. Reproduce code: --------------- <? //error is in the next line $mysqli = new mysqli('localhost','root','iiitb'); $mysqli->select_db('demo'); $result = $mysqli->query("SELECT * FROM members"); while($row = $result->fetch_assoc()) { print $row['firstName'] . ' ' . $row['lastName'] . '<br/>'; } ?> Expected result: ---------------- display the values in the table 'members'. Actual result: -------------- class mysqli.dll is not found in c:\webs\test\mysqltest.php on line 3.