php.net |  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
Description:
------------
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");
var_dump($id);
?>

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-26 07:21 UTC] derick@php.net
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 http://www.php.net/support.php 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-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 02:05:56 2022 UTC