
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container td {
            /*position: absolute;*/
            /*top: 50%;*/
            /*left: 50%;*/
            /*transform: translate(-50%, -50%);*/
        
          }
    </style>
</head>
<body style="margin-top:200px;">
     <?php
    
    $full_advice = $_REQUEST['question'];
    
    $select_enquiry = "SELECT * FROM `questions` where status IN ('Assigned To Sub-Admin','Assigned To Expert','Replied By Expert','Rejected By Sub-Admin','Replied By Expert','Replied By Sub-Admin') and id = '$full_advice'";
    $sql = $dbconn->prepare($select_enquiry);
    $sql->execute();
    $wlvd = $sql->fetchAll(PDO::FETCH_OBJ);

       foreach ($wlvd as $rows);
        $field1 = $rows->id;
        $field4 = $rows->question_question_description;
        

    ?>
     <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-6">
                <div class="form-group">
                    <label for="description">Description:</label>
                    <textarea class="form-control" id="description" cols="3" rows="5" name="description" readonly style="border: 2px solid green;"><?php echo $field4; ?></textarea>
                </div>
            </div>
        </div>
    </div>
    
</body>
</html>