PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Thats the whole point of include/require, they allow you to separate your code/classes etc in to descrete files/packages to be made available across your applications.
That's what I thought but I get an error when I try to call a function which is stored in another PHP file that I have included into the page with require().
Haha! Thanks, I'm just learning how to do functions in PHP. It's exactly like C++ but my teacher confused me so much I have to start from scratch. Thanks everyone!