how to chack if a mysql select was successfull?
hi,
i tried: Code:
found = 0how to test if a mysql query has a result or not? thx and greetz splaTTer |
Right now, the only thing that can return from a failed query is QUERY_FAILED, or -5.
I don't know why it's always 1 for you if there's an error. Keep in mind this for the next AMX Mod X release: http://forums.alliedmods.net/showthread.php?t=2632 |
sorry my fault... i didn't reset found = 1 to found = 0 at the end of my function :( /stupid me
|
| All times are GMT -4. The time now is 14:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.