note 113768 added to mysqli.requirements

From: Date: Thu, 28 Nov 2013 20:57:28 +0000
Subject: note 113768 added to mysqli.requirements
Groups: php.notes 
Request: Send a blank email to php-notes+get-197655@lists.php.net to get a copy of this message
"php_mysqli does not replace the php_mysql library. It only extends it. You need the php_mysql library !" mysql_connect() is from another library. Surely, php_mysqli works WITHOUT php_mysql enabled on the server. Nothing from php_mysql module is related to this. Before switching to mysqli, you need to completely eliminate all "mysql_" functions in your code. For example, mysql_connect() could be replaced to mysqli_connect() with an identifying link in front. Like: $link = mysqli_connect("myhost","myuser","mypassw","mybd"); Then each of mysqli command just should need to be referred to $link at first. ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/mysqli.requirements.php Edit -- https://master.php.net/note/edit/113768 Del: integrated -- https://master.php.net/note/delete/113768/integrated Del: useless -- https://master.php.net/note/delete/113768/useless Del: bad code -- https://master.php.net/note/delete/113768/bad+code Del: spam -- https://master.php.net/note/delete/113768/spam Del: non-english -- https://master.php.net/note/delete/113768/non-english Del: in docs -- https://master.php.net/note/delete/113768/in+docs Del: other reasons-- https://master.php.net/note/delete/113768 Reject -- https://master.php.net/note/reject/113768 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197655) next »