<?php
require_once 'dy_header.php';
$result = queryMysql("SELECT theader,ttext,tprice FROM task WHERE idt='$idt'");
echo "<table border='1'>";
for ($i = 0 ; $i < 3 ; ++$i)
{
$row = $result->fetch_array(MYSQLI_ASSOC);
echo "<tr><td>".$row['theader']."</td></tr>";
echo "<tr><td>".$row['ttext']."</td></tr>";
echo "<tr><td>".$row['tprice']."</td></tr>";
}
echo "</table>";
?>