
<?php
  include "../connection.php";
  $action_id = $_POST['action_id'];
  $sub_service = "SELECT * FROM grievance_action_type WHERE action_name = '$action_id'";
  $query = mysqli_query($con,$sub_service) or die("Query unsuccessfu");
?>
  <option value=""></option>
<?php
  while ($row = mysqli_fetch_assoc($query)) {
?>
  <option value="<?php echo $row['action_type']; ?>"><?php echo $row['action_type']; ?></option>

<?php
  }
?>