At 11:56 PM -0800 02-16-2000, Daniel Pope wrote:
>Hello,
>This is a newbie stupid question. I'm using C API in order to access
>MYSQL server.
>I'am able to query the database and to fetch a singular field
>(MYSQL_FIELD). But I cannot get the datafrom the field. I mean I was
>unable to find a field containing the useful data in the
>MYSQL_FIELD structure beside generic names such as: name, table,
>def, length, max_length, flags and decimals !!!!
>WHERE IS STORED THE MEANINGFUL DATA in the MYSQL_FIELD !!
>Thank you for answering me !!!!!
You're probably using mysql_fetch_field(), which returns information
about the result columns, not the data. Use mysql_fetch_row() to retrieve
the data values.
--
Paul DuBois, paul@stripped