<?php
$post = get_users();
?>
<?php foreach ($post as $users): ?>
<td><textarea class="form-control" type="text" name="phone" value="" id="example-text-input"><?=htmlspecialchars($users['phone'], ENT_QUOTES)?></textarea></td>
<?php endforeach; ?>
function get_users() {
global $link;
$sql = "SELECT * FROM Users WHERE reject = '0' AND delivery = '0' ORDER BY id DESC";
$result = mysqli_query($link, $sql);
$users = mysqli_fetch_all($result, MYSQLI_ASSOC);
return $users;
}
Всё равно та же ошибка