note 121042 added to mysqli.query

From: Date: Wed, 03 May 2017 17:43:13 +0000
Subject: note 121042 added to mysqli.query
Groups: php.notes 
Request: Send a blank email to php-notes+get-209046@lists.php.net to get a copy of this message
If you use the default resultmode of MYSQLI_STORE_RESULT, you can call $mysqli->close() right after $mysqli->query and before you use mysqli_result. This reduces the time the connection is open, which can help if the database server has a limit on how many connections there can be. ---- Server IP: 72.52.91.14 Probable Submitter: 12.226.24.14 ---- Manual Page -- http://php.net/manual/en/mysqli.query.php Edit -- https://master.php.net/note/edit/121042 Del: integrated -- https://master.php.net/note/delete/121042/integrated Del: useless -- https://master.php.net/note/delete/121042/useless Del: bad code -- https://master.php.net/note/delete/121042/bad+code Del: spam -- https://master.php.net/note/delete/121042/spam Del: non-english -- https://master.php.net/note/delete/121042/non-english Del: in docs -- https://master.php.net/note/delete/121042/in+docs Del: other reasons-- https://master.php.net/note/delete/121042 Reject -- https://master.php.net/note/reject/121042 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209046) next »