|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-09 04:48 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2017-01-09 04:48 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 11:00:01 2025 UTC |
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.