Bug #73894 [Opn->Nab]: Mysqli Connection not working as per example

From: Date: Mon, 09 Jan 2017 04:48:07 +0000
Subject: Bug #73894 [Opn->Nab]: Mysqli Connection not working as per example
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206413@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73894&edit=1

 ID:                 73894
 Updated by:         requinix@php.net
 Reported by:        sunilpandya at hotmail dot com
 Summary:            Mysqli Connection not working as per example
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            MySQLi related
 Operating System:   linux
 PHP Version:        5.6.29
 Block user comment: N
 Private report:     N

 New Comment:

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.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

You do not have the mysqli extension installed. Look for help resources about GoDaddy or contact
support.


Previous Comments:
------------------------------------------------------------------------
[2017-01-09 04:37:22] sunilpandya at hotmail dot com

Description:
------------
$mysqli = new mysqli("localhost","sunil_pandya", "Sunbirth@1961", "jomapop");
if (mysqli_connect_error()) {
    die('Connect Error (' . mysqli_connect_errno() . ') '
            . mysqli_connect_error());
}

Expected result:
----------------
Connection to Mysql

Actual result:
--------------
Undefind function new mysqli, I have web hosting space with in.godaddy.com, which is shared hosting
shows they are using 5.6.25 version of php.

When I put above code with my username,password,databse details, log file of  public_html shows
undefined function new mysqli, while netbean ide shows 
Unwanted string '' after, so what exactly is the code. 



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=73894&edit=1


Thread (2 messages)

« previous php.bugs (#206413) next »