таблица category
id | name
таблица news
id | name
таблица catenews
idcategory | idnews
FileName: "А49-364-2015__20170930.pdf"
Id: "7e4efd11-dffb-4767-acae-d809f01bf5a9"
<?php
$sql = "SELECT `nameDB` FROM `test` LIMIT 1";
$q = mysql_query($sql);
$res = mysql_fetch_array($q);
$x = $res["nameDB"];
?>
<div>
<p><?php=$x ?></p>
</div>