Raised This Month: $ Target: $400
 0% 

using sql with amxx


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 01-07-2006 , 17:00  
Reply With Quote #8

That wont quite work. Use:
Code:
sql = dbi_connect(host,username,password,dbname,error,125) if( sql > SQL_FAILED ) {     server_print( "[AMXX] Connected")    //If this point is reached you need to use dbi_close( sql ) } else {     server_print("[AMXX] Failed to connect. Error: %s" , error)     //If this point is reached you do not use dbi_close( sql ) }
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
 



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:55.


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