150
экз </th><th> Загрузил
</th><th> Тип </th>
</tr>\n";
$query1="SELECT idd, datez, datepod, named, kolvostr, otkuda, idsd, name,
namet
FROM dokument, sotr, tip
WHERE namet like ('%".$_POST['tip']."%') and datepod like
('%".$_POST['date']."%') and name like ('%".$_POST['sotr']."%') and named like
('%".$_POST['name']."%') and idd like ('%".$_POST['nomer']."%')and idkd=idtip and
ids=idsotr order by idd";
$res_id=mysql_query($query1);
if(mysql_query($query1))
while($sod_mas=mysql_fetch_row($res_id))
{
$a=$a+1;
echo "<tr class='table'><td class='table'><center>$sod_mas[0]</td><td
class='table'><center>$sod_mas[1]</td>
<td class='table'><center>$sod_mas[2]</td><td
class='table'><center>$sod_mas[3]</td><td class='table'><center>$sod_mas[4]</td>
<td class='table'><center>$sod_mas[5]</td><td
class='table'><center>$sod_mas[6]</td><td class='table'><center>$sod_mas[7]</td><td
class='table'><center>$sod_mas[8]</td></tr>\n";
}
else
{
echo "Не получилось";
}
}
echo "</table>";
?>
<br>
<div>