I wrote a PHP function earlier today, and the function is being used by several pages on my website. It would be pretty good if I only had to have the function in one place, so that i don´t have to edit the function on every page if I want to make an adjustment.
I tried putting the function on an own page, and then I used include() to access it, but it didn't work. Is there any way to do what I want to do?