m_result * result ;
The number of fields returned by a query can be ascertained by calling
msqlNumFields() and passing it the result handle. The value returned
by msqlNumFields() indicates the number of elements in the data
vector returned by msqlFetchRow(). It is wise to check the number of fields
returned before, as with all arrays, accessing an element that is
beyond the end of the data vector can result in a segmentation fault.
msqlClose()
int msqlClose ( sock )
H   
int sock ;
The connection to the mSQL engine can be closed using msqlClose().
The function must be called with the connection socket returned by
msqlConnect() when the initial connection was made.
Schema Related Functions
msqlListDBs()
G   
m_result * msqlListDBs ( sock )
H   
int sock ;
A list of the databases known to the mSQL engine can be obtained via
the msqlListDBs() function. A result handle is returned to the calling
program that can be used to access the actual database names. The
individual names are accessed by calling msqlFetchRow() passing it the result
handle. The m_row data structure returned by each call will contain one
field being the name of one of the available databases. As with all
functions that return a result handle, the data associated with the result
must be freed when it is no longer required using msqlFreeResult().
<





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