svn: /phpdoc/en/trunk/reference/sqlsrv/functions/ sqlsrv-num-fields.xml
| From: | Christoph Michael Becker | Date: | Wed, 09 Sep 2015 12:34:19 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/sqlsrv/functions/ sqlsrv-num-fields.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13727@lists.php.net to get a copy of this message | ||
cmb Wed, 09 Sep 2015 12:34:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337791
Log:
fixed syntax error in sqlsrv_num_fields() example (closes #68248)
Bug: https://bugs.php.net/68248 (Verified) Syntax error in
example code
Changed paths:
U phpdoc/en/trunk/reference/sqlsrv/functions/sqlsrv-num-fields.xml
Modified: phpdoc/en/trunk/reference/sqlsrv/functions/sqlsrv-num-fields.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlsrv/functions/sqlsrv-num-fields.xml 2015-09-09 11:28:12 UTC (rev
337790)
+++ phpdoc/en/trunk/reference/sqlsrv/functions/sqlsrv-num-fields.xml 2015-09-09 12:34:19 UTC (rev
337791)
@@ -67,10 +67,9 @@
while( sqlsrv_fetch( $stmt )) {
// Iterate through the fields of each row.
for($i = 0; $i < $numFields; $i++) {
- {
echo sqlsrv_get_field($stmt, $i)." ";
- }
- echo "<br />";
+ }
+ echo "<br />";
}
?>
]]>