13.04.2019, 20:43
Quote:
Try chaning this
pawn Code:
|
Quote:
if you can give us log errors next time (Main File > Logs > Errors)
anyway for this one there is one missing in your format! (`Name`, `Password`, `Salt`, `Pol`, `Godine`, `Email`) ('%s', '%s', '%s', %d, %d) you dident specife any detecter for Email Value! remove it or make it like this ! ('%s', '%s', '%s', %d, %d,'%s') and add playeremail at end of format |
PHP Code:
format(sqlquery, sizeof(sqlquery), "INSERT INTO `players` (`Name`, `Password`, `Salt`, `Pol`, `Godine`) VALUES ('%s', '%s', '%s', %d, %d)",
DB_Escape(E_PLAYER_INFO[playerid][E_PLAYER_NAME]),
DB_Escape(E_PLAYER_INFO[playerid][E_PLAYER_PASSWORD]),
DB_Escape(E_PLAYER_INFO[playerid][E_PLAYER_SALT]),
E_PLAYER_INFO[playerid][E_PLAYER_GENDER],
E_PLAYER_INFO[playerid][E_PLAYER_AGE]);
db_query(Database, sqlquery);