php echo inside of include workaround?
<p>The Question:</p>

<p>How do you include a page, who's location is based on a variable?</p>

<hr>

<p>The Goal:</p>

<p>Set Variables (theme location) in a settings.php file... </p>

<p>Root index, should reflect the index depending on the settings.php variable</p>

<hr>

<p>Thanks For The Help Guys!</p>

<p>-Andrew</p>

<hr>

<pre><code>&lt;!----//settings.php//----&gt;
&lt;?php 
$siteurl = "http://www.example.com/"
$themefolder = "theme/"; 
$theme = "theme1/"
?&gt;

&lt;!----//index.php//----&gt;
&lt;?php include("settings.php"); ?&gt;

//how do you $E = echo settings variables?
&lt;?php include(" $E index.php"); ?&gt;
</code></pre>

<hr>

<p>Any ideas for a work around?</p>

<hr>

<p>I want to achieve...
 include(" $E index.php"); ?> = <a href="http://www.example.com/theme/theme1/index.php" rel="nofollow">http://www.example.com/theme/theme1/index.php</a></p>
