使用php将所选字段用作源路径/目录来显示图像

How can I display image files depending on 3 select fields (province, year, month). Place and year are folders and the month are the image files. after submit, the image should be displayed on the box below the selection boxes.

Can anyone help?

Thank you in advance!

here's how it looks

Do you mean like this?

<?php
if(isset($_POST['submitBtn'])) {

    $place = $_POST['province'] . '/';
    $year = $_POST['year'] . '/';
    $month = $_POST['month'] . '.jpg'; // or whatever your format is

    echo '<img src="' . $place . $year . $month . '">';

}
?>