how to include another php file?
<p>I have a php file, and I want to include another php file that have css link tags and javascript source tags, but when I try to include them, it doesn't get added to the page.</p>

<p>my php page:</p>

<pre><code>&lt;?php 
    $root = $_SERVER['SERVER_NAME'] . '/mysite'; 
    $theme = $root . '/includes/php/common.php';
    echo $theme;
    include($theme);
?&gt;
</code></pre>

<p>common.php:</p>

<pre><code>&lt;link rel='stylesheet' type='text/css' href='../css/main.css'/&gt;";
</code></pre>

<p>Anyone know whats wrong? Thanks</p>
