Hi all,

this function in PHP 5 does not work for me: msql_field_name
(PHP 3>= 3.0.7, PHP 4 , PHP 5)

msql_field_name -- Get field name
Description
string msql_field_name ( resource query_identifier, int field)

msql_field_name() returns the name of the specified field from the 
result resource query_identifier. msql_field_name($result, 2); 
will return the name of the second field in the result set associated 
with the result identifier. 

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

Does anybody know what is the correct function for field name in PHP 5?

Many thanks,

Mark
Amsterdam - Netherlands


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to