23.07.2010, 16:17
I see a way to improve this code a little. Why don't you just return the received ID?
There are numerous ways to improve the code and "fix" it. Result needs to be freed after using mysql_store_result!
pawn Код:
// query and store result
new resultID = strval(mysql_fetch_row());
mysql_free_result();