title: How to echo a hyperlink in php
body: <p>I am reading emails from database. And i want to echo the emails as hyperlink, but its not working. </p>
  
  <pre><code>&lt;?php
  $un = $_POST['username'];
  $pw = $_POST['password'];
  
  // connect to the db
  $user = 'proc';
  $pswd = 'passwd';
  $db = 'school';
  $conn = mysql_connect('localhost', $user, $pswd);
  mysql_select_db($db, $conn);
  
  // run the query to search for the username and password the match
  $query = "SELECT email AS text FROM contact";
  $result = mysql_query($query) or die("Unable to verify user because : " . mysql_error());
  
  // this is where the actual verification happens
  while ($row = mysql_fetch_assoc($result)) {
      echo ("\n".$row['text']);
      echo "&lt;a href=.$row['text']&gt;some text&lt;/a&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>Any idea what is wrong in my code?</p>