redirect to unique page
<p>when I log in...i want to it to find my new $_SESSION variable and then reload into that page with all the selected data. But instead of <a href="http://www.theqlick.com/findFriends/lesson.php?username=noahtheteacher" rel="nofollow">http://www.theqlick.com/findFriends/lesson.php?username=noahtheteacher</a></p>

<p>I get this instead: <a href="http://theqlick.com/findFriends/lesson.php?username=%3C?%20echo%20noahtheteacher;%20?%3E" rel="nofollow">http://theqlick.com/findFriends/lesson.php?username=%3C?%20echo%20noahtheteacher;%20?%3E</a></p>

<p>Why is that? It isn't loading the correct page either...my code is below</p>

<p>The top of the page:</p>

<pre><code>      $new_user = $_SESSION['user_login'];

        if (!isset($_SESSION["user_login"])) {
       echo "";
        }
      else
       {
     echo "&lt;meta http-equiv=\"refresh\" content=\"0; url=lesson.php?username=&lt;? echo $new_user; ?&gt;\"&gt;";

         }
</code></pre>

<p>The login actual html code:</p>

<pre><code>        &lt;h2&gt;If your a teacher, login below ...&lt;/h2&gt;
        &lt;form action="lessons_login.php" method="post" name="form1" id="form1"&gt;
            &lt;input type="text" size="40" name="user_login" id="user_login" class="auto-clear" title="Username ..." /&gt;&lt;p /&gt;
            &lt;input type="text" size="40" name="password_login" id="password_login" value="Password ..." /&gt;&lt;p /&gt;
            &lt;input type="submit" name="button" id="button" value="Login to your account"&gt;
        &lt;/form&gt;
        &lt;/div&gt;
</code></pre>
