'T'
ORDER BY forder";
$result = mysqli_query($conn, $query);
$count = mysqli_num_rows($result);
$query1 = "select funivname, date_format(now(), '%d/%m/%Y %r') as fdate from {$db}.control";
$result1 = mysqli_query($conn, $query1);
$row1 = mysqli_fetch_assoc($result1);
$nav = '';
echo $nav;
$table="";
echo "
";
if($count >0)
{
while($row = mysqli_fetch_assoc($result))
{
$fnew=$row['fnew'];
if($fnew =='T')
{
$table .='';
}
else
{
$table .='
';
}
}
}
echo $table;
?>