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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: in_monu at yahoo dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 17:01:30 2024 UTC