Raised This Month: $ Target: $400
 0% 

Switch between 2 databases


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
IAmReallyCool
Member
Join Date: Nov 2013
Old 01-09-2014 , 07:50   Switch between 2 databases
Reply With Quote #1

Hello. What I want to do is to switch between two DBs in one plugin, for example i save my points into 'points' DATABASE and i want to save logs into 'bans' database. How can I switch between 2 databases in PAWN? I know in php its pretty easy :
PHP Code:
mysql_query("USE points"); 
PHP Code:
mysql_query("USE bans"); 
How can I do something similar in PAWN?
IAmReallyCool is offline
 



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 10:15.


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