php pass variables between pages
<p>I'm trying to send this varabile from one page to another but there is no value in it when I send it </p>

<p>I stored the value in compInfo.php</p>

<p>in compInfo2.php</p>

<pre><code>      &lt;?php
        if (isset($_POST['savebutton'])) {
            $company = new copmany();
            $copmnae = $_POST['CName'];
            $COMPNAME = $copmnae;
      ?&gt;
</code></pre>

<p>I dont know whats wrong </p>

<pre><code>  &lt;a href='compInfo2.php?$copmnae=$GLOBALS["COMPNAME"]' &gt; شاهد سيرتك الذاتية من هنا &lt;/a&gt;
</code></pre>
