это цикл $sql_connect_csgosurf = "SELECT * FROM `ck_wrcps` WHERE mapname='$map_name' ORDER BY stage ASC, runtimepro ASC";
$result_connect_csgo = mysqli_query($db_conn_surftimer,$sql_connect_csgosurf); $row_connect_csgo = mysqli_fetch_assoc($result_connect_csgo);
while ($row = mysqli_fetch_assoc($sql_connect_csgosurf)) {
$row_connect_csgo[$row['ключ']] =$row ; /*как выбирать записи из базы с помощью mysqli должно быть записано в ДНК*/
}