while($fetch = mysqli_fetch_array($query)){
echo"<tr>
<td>".$fetch['fecha']."</td>
<td>".$fetch['nombre']."</td>
<td>".$fetch['codigo']."</td>
<td>".$fetch['correo']."</td>
<td>".$fetch['img']."</td>
</tr>";
}
*********************
but I want to use this structure:
<td><center><img src="<?php echo "upload/".$fetch['img']?>" width="165" height="165"></center></td>