msqlFetchField()
m_field * msqlFetchField ( result )
H   
m_result * result ;
Along with the actual data rows, the server returns information about the data
fields selected. This information is made available to the calling program via
the msqlFetchField() function. Like msqlFetchRow(), this function returns one
element of information at a time and returns NULL when no further information
is available. The data is returned in a m_field structure which contains the
following information:
typedef struct {
      
char
* name ;
/* name of field */
char
* table ;
/* name of table */
int
type ;
/* data type of field */
int
length ,
/* length in bytes of field
*/
int
flags ;
/* attribute flags */
} m_field;
Possible values for the type field are defined in msql.h as
G   
INT_TYPE, CHAR_TYPE and REAL_TYPE. The individual
attribute flags
can be accessed using the following macros:
msqlFieldSeek()
G   
void msqlFieldSeek ( result , pos )
H   
m_result * result ;
int pos ;
The result structure includes a "cursor" for the field data. It s
position can be moved using the
msqlFieldSeek() function. See msqlDataSeek() for further details.
msqlNumFields()
int msqlNumFields ( result )
H   
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Godaddy Web Hosting