Call PHP function when entering page [closed]

-4

Calling a PHP function when a user enters the page, for example?

    
asked by anonymous 10.06.2016 / 04:02

1 answer

2

Basically like this: I call the function when the page is requested.

<?php
    myFunction();
    function myFunction() 
    {
        echo "Executou aqui!";
    }
    
10.06.2016 / 04:08