Heya guys, I have a small problem, I'm new in PHP and right now I am trying to do the following.
Lets say that I have a page called main.php, somewhere inside the page I want to include HTML code from another page. But instead of using
<?php
include("includes/something.html") ;
?>
I want to leave the space between the quotes empty like that:
<?php
include("") ;
?>
And feed the path to the file using the browser addreess bar like, let's say:
www.mypage.com/main.php?include=something.html
I am sorry that I can't explain this simpler, but I am sure you guys will get the idea. 
|