Hello, I use a little function to solve this problem in mysql++ . char* c_string(const string& s){ char* p = new char[s.length() + 1]; s.copy(p, string::npos); p[s.length()] = 0; return p; }
char *temp = c_string(row[ "YOUR COLUMN"].c_str()); MArio H.C.T. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php