note 115241 added to mysqli-result.fetch-field-direct

From: Date: Wed, 18 Jun 2014 13:32:16 +0000
Subject: note 115241 added to mysqli-result.fetch-field-direct
Groups: php.notes 
Request: Send a blank email to php-notes+get-199714@lists.php.net to get a copy of this message
Warning! This function is not only more memory consuming than expected but the consumption also depends on the size of the result set. So if you realy only want to get your field_names you might want to append " LIMIT 1" or use mysqli->unbuffered_query() to save yourself from a memory bloat. ---- Server IP: 72.52.91.14 Probable Submitter: 141.35.244.175 ---- Manual Page -- http://php.net/manual/en/mysqli-result.fetch-field-direct.php Edit -- https://master.php.net/note/edit/115241 Del: integrated -- https://master.php.net/note/delete/115241/integrated Del: useless -- https://master.php.net/note/delete/115241/useless Del: bad code -- https://master.php.net/note/delete/115241/bad+code Del: spam -- https://master.php.net/note/delete/115241/spam Del: non-english -- https://master.php.net/note/delete/115241/non-english Del: in docs -- https://master.php.net/note/delete/115241/in+docs Del: other reasons-- https://master.php.net/note/delete/115241 Reject -- https://master.php.net/note/reject/115241 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199714) next »