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

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.

any reply
appriciated

regards
kenneth johansen
[EMAIL PROTECTED]




---------------------------------------------------------------------
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

Reply via email to