RE: [PHP] Field name function in PHP 5
| From: | Jon Bertsch | Date: | Wed, 04 Aug 2004 16:28:40 +0000 |
| Subject: | RE: [PHP] Field name function in PHP 5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192730@lists.php.net to get a copy of this message | ||
Assuming the snippet is correct, your function is not spelled correctly.
You should be using mysql_field_name() or mssql_field_name() (MySQL or MS SQL respectively).
Jon Bertsch
[snip]
When I write: echo "<th>".msql_field_name($result). "</th>";
I get the error message:
Fatal error: Call to undefined function msql_field_name() in c:\Program
Files\Apache Group\Apache\htdocs\mysqli_send.php on line 37
[/snip]