08.08.2011, 10:48
Quote:
That was a bit to advanced for me..Well i followed this tutorial, and it seems it failed very bad. Could you explain me how to fix it?
EDIT: Yeah i see the missing mysql_free_result(); |
If that's still troubling, there are plenty of resources around the internet for learning how to write good SQL code and practicing good coding techniques that make sense. There's also the official PAWN documentation at CompuPhase. I can't tell you how to fix this because there's so much wrong with it, it would just have to be completely re-written.
I'm sure you could find a solution to your specific problem, but that's not going to change the vast majority of problems with this code!
Note: There isn't just one missing mysql_free_result, there are several logical paths where it is missing.