I'm not sure if it's a right place to ask, but I have nowhere else to go to
I'm trying to build a website in PHP and want to have some usefull functions in a separate file, so later I could just reuse then by including.
But, there seems to be a problem here:
once executed index.php shows an error:
Fatal error: Call to undefined function usefull_function1() in index.php on line 4
I juct don't understand why??? In any other programing languages an 'include' like directive just takes a premade code from a specific file and inserts it AS IS
Does PHP operate otherwise???
Thank you all in advance.