MySQL error
#1

I'm making a new GM and I have this error



Lines:

Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case DIALOG_REGISTER:
        {
            if(!response)return Kick(playerid);
       
            if(strlen(inputtext) < 3 || strlen(inputtext) > 30){
            ShowRegisterDialog(playerid, "Your password must be between 3 and 30 characters.");
           
            }
           
            new query[128];
            mysql_format(sqlConnection, query, sizeof(query), "INSERT INTO users(Name, Pass, IP) VALUES('%e', sha1('%e'), '%e')", GetName(playerid), inputtext, GetIP(playerid));
	    mysql_pquery(sqlConnection, query, "SQL_OnAccountRegister", "i", playerid);
        }
    }
    return false;
}
Reply


Messages In This Thread
MySQL error - by Antenastyle - 17.06.2017, 11:30
Re: MySQL error - by BiosMarcel - 17.06.2017, 11:46
Re: MySQL error - by Antenastyle - 17.06.2017, 13:37
Re: MySQL error - by BiosMarcel - 17.06.2017, 13:39

Forum Jump:


Users browsing this thread: 2 Guest(s)