PHP код:
format(query,sizeof(query),"INSERT INTO `Accounts` (`Username`,`pPass`) VALUES ('%s','%s')",GetName(playerid),PlayerInfo[playerid][pPass]);
I think GetName is a string, so you have to use %s instead of %d. Also you can leave "SET" and you forgot a ")".