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]
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php