Raised This Month: $ Target: $400
 0% 

Save Stats by SQLx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-11-2013 , 21:49   Save Stats by SQLx
Reply With Quote #1

Hi, i have a plugin attached in post. And i need some help to determine how it is a better way to saving stats to DB...

I know the better method is using thread queries, but in what moment i used this. And prevent to plugin not saving incorrect stats or fail when load to DB.

I have tried code below, its only a test, if has some functions incorrectly report too.

Thanks
Attached Files
File Type: sma Get Plugin or Get Source (stats.sma - 562 views - 12.3 KB)
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode