ctsql_field_table
Returns the name of the table containing the specified field.
Declaration
string ctsql_field_table ( resource queryID , int field_offset )
Returns
Returns the name of the table containing the specified field.
Example
<?php
ctsql_connect("localhost:ctreeSQL");
$result = ctsql_query("select * from mytable");
printf ("Table containing field ID is:", ctsql_field_table($result, 1));
ctsql_free_result($result);
?>