note 119981 added to function.mysqli-connect

From: Date: Sun, 02 Oct 2016 21:56:55 +0000
Subject: note 119981 added to function.mysqli-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-206739@lists.php.net to get a copy of this message
Worthwhile noting that the MySQLi library can still open a permanent connection, but a different command isn't used. Simply prepend "p:" to the MySQL hostname or address. Using classes: $this->mysqli = new mysqli('p:'. mysql_host, mysql_user, mysql_password, mysql_database); Using command: $link = mysqli_connect('p:mysql_host', 'mysql_user', 'mysql_password', 'mysql_database'); ---- Server IP: 72.52.91.14 Probable Submitter: 68.228.94.77 ---- Manual Page -- http://php.net/manual/en/function.mysqli-connect.php Edit -- https://master.php.net/note/edit/119981 Del: integrated -- https://master.php.net/note/delete/119981/integrated Del: useless -- https://master.php.net/note/delete/119981/useless Del: bad code -- https://master.php.net/note/delete/119981/bad+code Del: spam -- https://master.php.net/note/delete/119981/spam Del: non-english -- https://master.php.net/note/delete/119981/non-english Del: in docs -- https://master.php.net/note/delete/119981/in+docs Del: other reasons-- https://master.php.net/note/delete/119981 Reject -- https://master.php.net/note/reject/119981 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#206739) next »