Mysql question
I would prefer not to open and close the mysql connection in each function where I use a query .
I can place the open mysql connection in plugin init but where can I place the close connection block ? I want everything to be optimized. |
Re: Mysql question
plugin_end, but i would suggest using threaded queries
|
Re: Mysql question
I didn't knew dbi was outdated .
Meanwhile I found this tutorial. https://forums.alliedmods.net/showthread.php?t=46779 Is this the best way ? |
Re: Mysql question
How can I read the data from a particular column ?
Can I do this with ReadResult ? How ? http://www.amxmodx.org/funcwiki.php?go=func&id=1105 |
| All times are GMT -4. The time now is 21:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.