I want to save in a variable the largest value ever obtained by rowCount
only I do not know how to do logic.
Current query:
$playeronline = $pdoG->prepare("SELECT login FROM u_hero WHERE login = 1");
$playeronline->execute();
$numeroonline = $playeronline->rowCount();
return $numeroonline;