Raised This Month: $ Target: $400
 0% 

Need mysql base


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 06-08-2010 , 06:34   Re: Need mysql base
Reply With Quote #1

Ah, so how can I create a new row,


PHP Code:
SQL_PrepareQuery(SqlConnection,"CREATE TABLE IF NOT EXISTS zomg (you INT(11),are INT(11),a INT(11),noob INT(11))"
This creates a Table, but how can I add a row with szName in it.

EDIT: now i'm having error in my logs:

Quote:
L 06/08/2010 - 14:53:23: [AMXX] Displaying debug trace (plugin "sql.amxx")
L 06/08/2010 - 14:53:23: [AMXX] Run time error 1: forced exit
L 06/08/2010 - 14:53:23: [AMXX] [0] sql.sma::plugin_init (line 47)
Line 47:

Quote:
if(!SQL_Execute(Queries[Count]))
{
// if there were any problems
SQL_QueryError(Queries[Count],g_Error,511)
set_fail_state(g_Error)
}

Last edited by reinert; 06-08-2010 at 06:55.
reinert is offline
Reply



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 05:16.


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