> That syntax seems correct. Make sure you have defined Row as:
> MYSQL_ROW Row;
Yes this is a structure, not a pointer.
> and that result is defined as
> MYSQL_RES *result;
Yes it is a pointer.
>
> printf("\n\t%u %4s",j,Row); <-------YOUR problem seems to be here! change
> Row to Row[0] and see if that works!
This is sure, this line is wrong and must be Row[#], but the programs
does not reach to
this line, it hangs before in the "mysql_fetch_row(result)" line...
I have updated to the latest mysql and recompiled it, and now works ok,
so there was a bug
in compilation of the old mysql or a bug of the library...
Thanks for your help.
--
Gonzalo Aguilar. Madrid, España (Spain) |
Reymad Studios | [EMAIL PROTECTED] |
Privado | [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