So I have this query here that isn't working, the table exist, the data is loaded correctly, the userid exists what is wrong?
$sql =
sprintf("
UPDATE leagueoflegends
SET solotier = '%s'
, solotiername = '%s'
, winssolo = %d
, lossessolo = %d
, ranksolo = '%s'
, lpsolo = %d
WHERE accountId = %d"
, $solotier
, $solotiername
, $winssolo
, $lossessolo
, $ranksolo
, $lpsolo
, $accountid
);
$db->query($sql);