July 1999
Intermediate to advanced
502 pages
19h 52m
English
msqlListFields
m_result *msqlListFields ( int sock , char *tableName )
Returns an m_result structure containing the names
of all of the fields in the given table. Like all
m_result structures, the return value of this
function must be freed with msqlFreeResult when
you are done with it.
fields = msqlListFields(dbh, "people");
/* 'fields' now contains the names of all of the fields in the
'people' table */Read now
Unlock full access