title: Not able to login with my hosted login page
body: <p>I am trying host my code in a hosting site www.my3gb.com
  My code is working fine with my pc but not when i hosted there....Look at this code...</p>
  
  <pre><code>&lt;html&gt;
  &lt;body bgcolor="green"&gt;
  
  &lt;?php
  $conn=mysql_connect("http://www.my3gb.com/phpmyadmin/","username","password");
  mysql_select_db("mohit007kumar00_cboy",$conn);
  print "&lt;h1&gt;connected&lt;/h1&gt;";
  $rs=mysql_query("select * from signup where user='".$_POST['t1']."'");
  print "&lt;h1&gt;queried&lt;/h1&gt;";
  while($row=mysql_fetch_array($rs))
  {
      print "&lt;h1&gt;under while&lt;/h1&gt;";
      if($row['pswd']==$_POST['t2'])
      {
          print "&lt;h1&gt;You are alowed&lt;/h1&gt;";
      }
      else
      {
          print "&lt;h1&gt;not alowed&lt;/h1&gt;";
      }
  }
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and the login page is .....</p>
  
  <pre><code>    &lt;html&gt;
      &lt;body bgcolor="yellow"&gt;
      &lt;center&gt;
      &lt;h1&gt;Login Application&lt;/h1&gt;
      &lt;form action="log.php" method="post"&gt;
      user&lt;input type="text" name="t1"&gt;&lt;br&gt;&lt;br&gt;
      pswd&lt;input type="password" name="t2"&gt;&lt;br&gt;&lt;br&gt;
      &lt;input type="submit"&gt;
      &lt;/form&gt;
      &lt;/center&gt;
      &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>on my pc it will show the output like this....
  connected
  queried
  under while
  You are alowed
  while on my hosted link it will show the output like this......
  connected
  queried
    you can view my login page here <a href="http://mohit007kumar00.my3gb.com/test.php" rel="nofollow">http://mohit007kumar00.my3gb.com/test.php</a></p>