Is there a way to combine multiple php files into one file and then call the functions from a main page? I have some menus embedded in a layered form, As it is I have a menu_layer1.php.. menu_layer2_.php and so on... I was sure there was a way to call the file something like include '../menus.php=layer1'; but its been awhile since I messed with this stuff.
What I was hoping to hear is... I can take the files and make something like a class or function for each separate file in a single menu.php then call the function like I did above. is this possible?
thanks for any replies
mike
What I was hoping to hear is... I can take the files and make something like a class or function for each separate file in a single menu.php then call the function like I did above. is this possible?
thanks for any replies
mike