note 19943 added to function.mssql-fetch-field

From: Date: Fri, 15 Mar 2002 22:07:47 +0000
Subject: note 19943 added to function.mssql-fetch-field
Groups: php.notes 
Request: Send a blank email to php-notes+get-27845@lists.php.net to get a copy of this message
When you mssql_fetch_field(int result), you need to do loop to get the name of each field. Something like: while($fld = mssql_fetch_field($rs)){ echo $fld->name . "<br>"; } I am wondering why we cannot refer it by a field number. -- http://www.php.net/manual/en/function.mssql-fetch-field.php http://master.php.net/manage/user-notes.php?action=edit+19943 http://master.php.net/manage/user-notes.php?action=delete+19943 http://master.php.net/manage/user-notes.php?action=reject+19943

« previous php.notes (#27845) next »