Hey guys, can't say that I'm all that versed in php code but I'm wondering if it's even possible to do what I want to do.
Basically I need the inserted .inc file to be variable based on the page ID ("TEAMID" below) .. so if it's id=15, I need the .inc file name "15.inc".
When I put in the following, I get nothing but errors:
<?php include '<?php echo $TEAMID; ?>.inc';?>
Is there a more efficient way to do this?
Thanks in advance!