my HTML tags are working well but when embedded PHP code inside it the tags after PHP code not showing 

The PHP code is fetched some data from MySQL database in order to show in the select tag as options.

```
<div class="linetxt"><!--Trainer Name-->
    <label for="trainee_name">Trainer Name</label>
    <span class="input">
        <select name="trainerName" id="">
            <?php
            error_reporting(E_ALL);
            ini_set('display_errors', 1);
            while($row = mysqli_fetch_assoc(mysqli_query($con, "SELECT trainer_name ,trainer_id FROM trainer"))){
                echo '<option value="'.$row['trainer_id'].'">'.$row['trainer_name'].'</option>';
            }
            ?>
        </select>
   </span>
</div>

```