How do I run a sript line in php within a .html web on a remote server?

-1

I need to run two php script lines within a .html web, they are 2 functions, but it's like the server does not recognize them:

                <div class="contact-wrapper">
                <h3>Contactos</h3>
                <p>Haga clic en el boton</p>
                <div class="social-below">
                    <a class="btn button-custom btn-custom-two" <?php =link_contactar_propiedad(85,'Email')?></a>

                    <a class="btn button-custom btn-custom-two" <?php =link_llamar_propiedad(85,'Llamar')?> </a>
                </div>
    
asked by Ricardo Pastuszek 23.06.2018 в 01:43
source

1 answer

0

If your file has an .html extension, it will not recognize the PHP code unless you include that .html in a file with an .php extension

If you are not including that .html in another file with extension .php, the file where you call those functions must have the extension .php

    
answered by 23.06.2018 / 07:28
source