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)
}
|