PHP data retrial error
<p>I have asked the same question before but didn't get the answer! I hope you people can help me. </p>

<pre><code>&lt;?php
session_start();
$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['points'];
}
echo "Question ".$qt; //here
if(empty($qt))
header("location:question1.php");
else if($qt=='1')
header("location:question2.php");   
else if($qt=='2')
header("location:question3.php");
?&gt;
</code></pre>

<p>I need to get the value of the variable <code>$qt</code>. From the database, it's value should be <code>0</code>. But it's not showing any value when I echo'ed it! Please help me.</p>
