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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC