This question is an exact duplicate:

How to connect the index.php file to index.html And then in html <?php - does not work

Marked as a duplicate by the participants Sergey Glazirin , Gleb Kemarsky , aleksandr barakin , entithat , user300000 25 Sep '18 at 10:43 .

This question has been marked as a duplicate of an existing one.

    1 answer 1

    no how The opposite is possible through @include

    • I have a site html + css. And I need to connect it to the phpmyadmin database. - Misha Nikolov
    • The answer is incorrect, I put a minus. In fact, this can be done. For this you need to explain to the web server that the files with the html extension need to be processed by PHP. - AK
    • Ok, now the question is. How? - Misha Nikolov
    • @MishaNikolov How, how ... In your question there is not enough information to answer. To do this, you need to know what your web server is. For example, for apache, look for themes on the site with AddType , in addition, there is a difference in versions and different operating systems. - AK
    • Web server 000webhosapp - Misha Nikolov