Well, I am sure one of us is completly confused.
ALL functions will ONLY run if they are called.
And y do u have a $ in the function name in your example?
also you can call a function simply by typing its name.
eg:
<?php
function hello()
{
echo 'Hello World';
}
//Now call the function:
hello();
?>