In the MySQL table, I created a column that stores the path to the file on a local disk and instead of downloading the file by reference, the php script itself is downloaded.
echo "<a href='" .$i['Книга']. "'download>Сюда</a> Here is the path: C: \ WebServers \ home \ digitallibrary.ru \ www \ books \ Pushkin_A_Ruslan_I_Lyudmila.a6.pdf
<a>tag just the path to the file is specified, it is not downloaded anymore? - Nikolaj Sarrydownload?echo "<a href='" .$i['Книга']. "'?download>Сюда</a>echo "<a href='" .$i['Книга']. "'?download>Сюда</a>- Ostin