juhasamy Posted February 7, 2007 Share Posted February 7, 2007 This works fine: include("main.php"); but this does not: include("main.php?begin=5"); Why? How can i load a file with paramiter to php? Link to comment https://forums.phpfreaks.com/topic/37474-solved-include/ Share on other sites More sharing options...
trq Posted February 7, 2007 Share Posted February 7, 2007 Why? How can i load a file with paramiter to php? You can't. Best you can do is.... <?php $begin = 'foo'; include "main.php"; ?> Link to comment https://forums.phpfreaks.com/topic/37474-solved-include/#findComment-179204 Share on other sites More sharing options...
juhasamy Posted February 7, 2007 Author Share Posted February 7, 2007 Thank you Thorpe! Link to comment https://forums.phpfreaks.com/topic/37474-solved-include/#findComment-179210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.