hello i need help with my script.
I have register via MySql but when i use /reg on server than server answer me login sucessfull but DB is empty. My line:
mysql_query( database, "INSERT INTO accounts (log,pass,serial,name,points,money,wins,second,third,hunters,alevel,kills,score,playtime,deaths,matches,days,hours,minutes ) VALUES ('" .. username .. "','" .. password .. "', '" .. serial .. "', '" .. name .. "','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1' )" )
and i have this:
database = mysql_connect( "localhost", "root", "pass", "db" )
if database then
outputDebugString ('Connect')
else
outputDebugString ("Nothing")
end
and console answer me: Connect.
I have not idea why this not working. Thanks for every answer.