There is such code:
<?php echo '<select size="1" name="country">'.str_replace('>'.$_SESSION['USER_COUNTRY'], 'selected>'.$_SESSION['USER_COUNTRY'], '<option value="0">Не скажу</option><option value="1">Украина</option><option value="2">Россия</option><option value="3">США</option><option value="4">Канада</option>').'</select>'; ?> After the selection, the information is saved in the database and everything seems to be ok, but the selector field does not show the information about the selected country already saved in the database. How can I fix it?