Passing header values
<p>Hi having a problem forming my syntax this is what iv'e got.</p>

<pre><code>    $id = $_POST['student_id'];
    $getlev= $_POST['lev'];
    header('Location: usucess.php?id='.$id.'&amp;getlev='.$getlev);
</code></pre>

<p>and this is the receiving end.</p>

<pre><code>     if(empty($_POST['lvl'])){
              $yl= $_GET['getlev'];
         }else{
              $yl=$_POST['lvl'];}
</code></pre>

<p>Currently it is only passing <strong>$id</strong> would appreciate any help on what I'm doing wrong.</p>
