Re: problem using mysql_fetch_row in C API

2001-06-14 Thread Don Read
On 14-Jun-01 Russell King wrote: > From: Don Read <[EMAIL PROTECTED]> >> On 14-Jun-01 Kenneth Johansen wrote: >> > >> > temp = (int) row[0]; >> > >> > this might not (strictly) be a mysql question. >> > but IMHO i dont think a C forum is the right place either. >> >> No it's not; & yes, it would.

Re: problem using mysql_fetch_row in C API

2001-06-14 Thread Russell King
From: Don Read <[EMAIL PROTECTED]> > On 14-Jun-01 Kenneth Johansen wrote: > > hi all, ive got a small problem (again). > > i have a table with an entry "foo" which is an int(3). > > > > my problem is that whenever i collect the values in my c program. > > they are returned as characters with mysql

RE: problem using mysql_fetch_row in C API

2001-06-14 Thread Don Read
On 14-Jun-01 Kenneth Johansen wrote: > hi all, ive got a small problem (again). > i have a table with an entry "foo" which is an int(3). > > my problem is that whenever i collect the values in my c program. > they are returned as characters with mysql_fetch_row. (which is ok) > but i cant seem t

problem using mysql_fetch_row in C API

2001-06-14 Thread Kenneth Johansen
hi all, ive got a small problem (again). i have a table with an entry "foo" which is an int(3). my problem is that whenever i collect the values in my c program. they are returned as characters with mysql_fetch_row. (which is ok) but i cant seem to convert them into int, using something like tem