Calling a PHP function when a user enters the page, for example?
Calling a PHP function when a user enters the page, for example?
Basically like this: I call the function when the page is requested.
<?php
myFunction();
function myFunction()
{
echo "Executou aqui!";
}