<?php
require "db.php";
?>
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Заказ</title>
</head>
<body>
<?
$orders = R::find( 'fio', "`fio` != ?", array(1));
var_dump($orders);
?>
</body>
</html>
array(0) { }
<?php
require "db.php";
?>
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Заказ</title>
</head>
<body>
<br><br><br><br><br><br><br><br>
<div class="neworder" align="center"><a href="neworder.php">Заказать помощь</a></div>
<br><br><br><br><br><br><br><br><br><br>
<?
$query = R::findAll( 'orders' );
?>
<table border="3" align="center">
<tr>
<td> Номер </td>
<td> ФИО </td>
<td> Кабинет </td>
<td> Проблема </td>
</tr>
<?php
foreach($query as $item):
?>
<tr>
<td><?=$item['id']?></td>
<td><?=$item['fio']?></td>
<td><?=$item['number']?></td>
<td><?=$item['trouble']?></td>
</tr>
<?php
endforeach;
?>
</body>
</html>