mysql_real_query — performs a query on the database
int mysql_real_query(MYSQL * mysql,
const char * q,
unsigned long);The mysql_real_query() is the binary safe function for performing a statement on the database server.
mysqlA mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
queryA string containing the statement to be performed.
longLength of the string.