note 91234 added to mysqli-stmt.bind-result

From: Date: Mon, 01 Jun 2009 00:44:00 +0000
Subject: note 91234 added to mysqli-stmt.bind-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-156207@lists.php.net to get a copy of this message
@atulkashyap1: that code is disgusting... <?php function extracting(){ $query="SELECT topic, detail, date, tags FROM updates ORDER BY date DESC LIMIT 5 "; if($stmt = $this->conn->prepare($query)) { $stmt->execute(); $stmt->bind_result($updates[0],$updates[1],$updates[2],$updates[3]); $i=0; while($stmt->fetch()){ $rows[] = $updates; } return $rows; $stmt->close(); } } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 190.188.180.148 ---- Manual Page -- http://www.php.net/manual/en/mysqli-stmt.bind-result.php Edit -- https://master.php.net/note/edit/91234 Del: integrated -- https://master.php.net/note/delete/91234/integrated Del: useless -- https://master.php.net/note/delete/91234/useless Del: bad code -- https://master.php.net/note/delete/91234/bad+code Del: spam -- https://master.php.net/note/delete/91234/spam Del: non-english -- https://master.php.net/note/delete/91234/non-english Del: in docs -- https://master.php.net/note/delete/91234/in+docs Del: other reasons-- https://master.php.net/note/delete/91234 Reject -- https://master.php.net/note/reject/91234 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156207) next »