Problems with mysql result storage
#5

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


Messages In This Thread
Problems with mysql result storage - by baske007 - 23.07.2010, 14:47
Re: Problems with mysql result storage - by Jeffry - 23.07.2010, 15:09
Re: Problems with mysql result storage - by baske007 - 23.07.2010, 15:13
Re: Problems with mysql result storage - by Jeffry - 23.07.2010, 15:32
Re: Problems with mysql result storage - by TransformerOwl - 23.07.2010, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)