Re: MYSQL: converting MysqlColData to char

2002-03-19 Thread Sinisa Milivojevic
Rick Runowski writes: > > All, > > I am having difficulty converting the results of a query to a character. > Here is A snippit of code. > You can not get chars from [] operator. You have to first convert ColData to string, e.g. like this : string xx(row[j]), or use row_data() method (cgi_im

MYSQL: converting MysqlColData to char

2002-03-18 Thread Rick Runowski
All, I am having difficulty converting the results of a query to a character. Here is A snippit of code. ... //Connect to server Connection con("Table", "localhost", "USER", ""); // Create query object Query query = con.query(); query << input; // This is working as I can print