Include a page based on ID.
Posted: Thu Dec 11, 2008 1:09 pm
Now, I don't know if this is possible, but it would be awesome if it were...
I have a page, and I'd like to include an additional page using IDs...
Example:
example address:
code should then pull:
Whereas (($ID)) would be the id above...
Is this possible?
Thanks in advance.
I have a page, and I'd like to include an additional page using IDs...
Example:
example address:
Code: Select all
hxxp://www.example.com/image.php?id=2008-12-11acode should then pull:
Code: Select all
<?php include("media/posts/(($ID)).php"); ?>Is this possible?
Thanks in advance.