I want to get the value of that row within the column and display it. I don't want to display the whole row, just the value inside the column. Also I don't want to display all the array value at the same time. I just want to get the specific value within row of the column at a time using loop. [Here is the value that I want to display](https://i.stack.imgur.com/MfRe9.png)

Here's the code too.

```
<?php 
    include('../../private/includes/dbh.php');
    $mod_result = mysqli_query($conn, "SELECT id from moderator");
    while($row = mysqli_fetch_row($mod_result)){
?>

<input type="text" name="moderator_id" value="<?php echo $row['id']; ?>">

<?php
    }
?>

```

UPDATE: Here is the output of changing the mysqli\_fetch\_row into mysqli\_fetch\_assoc and mysqli\_fetch\_array. [Here is the output](https://i.stack.imgur.com/HdgLf.png)