paulman888888 Posted April 29, 2008 Share Posted April 29, 2008 I would like to have a master page that includes all other php files in directory 'games/'. This way i don't have to update the master page. Can anyone help me make the master page please? i want it to include the php pages inside 'games/'. I have a games site and i want all games (10 at a time) in directory 'games/' to be include in the master page. Thankyou very much Link to comment https://forums.phpfreaks.com/topic/103413-games-include-help/ Share on other sites More sharing options...
conker87 Posted April 29, 2008 Share Posted April 29, 2008 You could manually type in: <?php include("games/page1.php"); include("games/page2.php"); //etc ?> Link to comment https://forums.phpfreaks.com/topic/103413-games-include-help/#findComment-529563 Share on other sites More sharing options...
PFMaBiSmAd Posted April 29, 2008 Share Posted April 29, 2008 You have already asked this question twice before - http://www.phpfreaks.com/forums/index.php/topic,194720.msg876916.html#msg876916 http://www.phpfreaks.com/forums/index.php/topic,194487.msg875784.html#msg875784 Link to comment https://forums.phpfreaks.com/topic/103413-games-include-help/#findComment-529565 Share on other sites More sharing options...
paulman888888 Posted April 29, 2008 Author Share Posted April 29, 2008 But the idea is that i dont have to. Link to comment https://forums.phpfreaks.com/topic/103413-games-include-help/#findComment-529567 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.