All expensive time of day. The site has fields with a drop-down list, the field is used so that the user can select the desired city in the questionnaire.
<select class="row-item-2"> <option>Город</option> </select> The database in the bd_city table has a list of cities with such id and name fields.
The site is connected to the database
require_once 'config.php'; // подключаем скрипт // подключаемся к серверу $link = mysqli_connect($db_host, $db_user, $db_pass, $db_name) or die("Ошибка " . mysqli_error($link)); // выполняем операции с базой данных // закрываем подключение mysqli_close($link); Tell me, please, how can I get cities to the drop-down list?