|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26720 Call to undefined function: mysqli_connect()
Submitted: 2003-12-26 07:00 UTC Modified: 2003-12-26 07:21 UTC
From: in_monu at yahoo dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.3.3 OS: Windows 2000
Private report: No CVE-ID: None
 [2003-12-26 07:00 UTC] in_monu at yahoo dot com
I am not able to use "Improved MySQL Extension" functions. I am using mysql-4.1.1-alpha database on my localhost.

Reproduce code:
$Link_ID = mysqli_connect("localhost", "test", "test");
$id = mysqli_fetch_fields("testdb", "tbl_usr_login");

Actual result:
Fatal error: Call to undefined function: mysqli_connect() in h:\inetpub\wwwroot\mysql.php on line 2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-26 07:21 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

mysqli_* is only for PHP 5, mysql_* is for both (as described in our manual)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 23:01:29 2024 UTC