At 5:09 +0000 3/28/02, Federico Halperin wrote:
>In a table, I declared a column which is an integer unsigned.
>After calling mysql_fetch_row, I need to convert the value of the
>column (i.e. row) to a string.
According to the manual, *all* column values are returned as strings.
I'd say you don't need to convert it.
>I tried to solve it doing this:
>sprintf (var, "%u", row);
>, but it doesn't work.
>Is *row an unsigned int?
>Can anybody help me???
It's a good idea to take a good look at the descriptions of these
functions (and the data types they use) in the manual to see
how they work. No point in guessing.