What's wrong with this php code? With variable
<pre><code>&lt;?php
session_start();
 //echo "Hello".$_SESSION['uname'];
 $unme=$_SESSION['uname'];
 include("connection.php");
 $query_qt=mysql_query("SELECT * FROM regst WHERE unme='$unme'");
 $info = mysql_fetch_array($query_qt);

    if($info)
    {
        $qt=$info['point'];
    }
    echo "Question ".$qt;
if($qt=='0')
    header("location:question1.php");
else if($qt=='1')
    header("location:question2.php");   
else if($qt=='2')
    header("location:question3.php");

?&gt;
</code></pre>

<p>This code not working actually...Can anybody help me? I think I'm not getting any value on $qt variable. </p>
