note 8945 added to mssql_field_name
| From: | tengel at sonic dot net | Date: | Sat, 07 Oct 2000 23:43:06 +0000 |
| Subject: | note 8945 added to mssql_field_name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6207@lists.php.net to get a copy of this message | ||
This function isn't supported (PHP 4.0.2) if using Sybase/FreeTDS to access SQLServer
(linux/solaris/bsd/etc). Instead, use "mssql_fetch_field()" like so:
$field_name = mssql_fetch_field($query_result, $field_number);
print $field_name->name;
http://www.php.net/manual/function.mssql-field-name.php