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!
Is there a way to set aside a block of code and call that block from the same file? I know you can use include() or require() to do the same thing by calling another file, but I want to call just a block of code from within the file.