note 123312 added to function.sqlsrv-fetch-array

From: Date: Tue, 06 Nov 2018 16:43:55 +0000
Subject: note 123312 added to function.sqlsrv-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-209635@lists.php.net to get a copy of this message
Example with an iteration ( SQLSRV_SCROLL_ABSOLUTE ). for ($i=0; $i < sqlsrv_num_rows($stmt); $i++) { $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_NUMERIC, SQLSRV_SCROLL_ABSOLUTE , $i ); echo "value of column 1: '.trim($row[0]).', value of column 2: '.trim($row[1]); } ---- Server IP: 208.43.231.9 Probable Submitter: 189.204.113.154 ---- Manual Page -- http://php.net/manual/en/function.sqlsrv-fetch-array.php Edit -- https://master.php.net/note/edit/123312 Del: integrated -- https://master.php.net/note/delete/123312/integrated Del: useless -- https://master.php.net/note/delete/123312/useless Del: bad code -- https://master.php.net/note/delete/123312/bad+code Del: spam -- https://master.php.net/note/delete/123312/spam Del: non-english -- https://master.php.net/note/delete/123312/non-english Del: in docs -- https://master.php.net/note/delete/123312/in+docs Del: other reasons-- https://master.php.net/note/delete/123312 Reject -- https://master.php.net/note/reject/123312 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#209635) next »