title: put a hyperlink on table data when using with echo
body: <p>I am using the following code to display data in the form a table</p>
  
  <pre><code>echo "&lt;table id='admin'&gt;
  &lt;tr&gt;
  &lt;th&gt;ID&lt;/th&gt;
  &lt;th&gt; Name &lt;/th&gt;
  th&gt;Email&lt;/th&gt;
  &lt;th&gt;Headline&lt;/th&gt;
  &lt;/tr&gt;";
  while($row = mysqli_fetch_array($result)) 
  {
  echo "&lt;tr&gt;" ;
  echo "&lt;td&gt;" . $row['id'] ."&lt;/td&gt;";
  echo "&lt;td&gt;" . $row['name'] . "&lt;/td&gt;";
  echo "&lt;td&gt;" . $row['email'] . "&lt;/td&gt;";
  echo "&lt;td&gt;" . $row['headline'] . "&lt;/td&gt;";
  echo "&lt;/tr&gt;";
  }
  </code></pre>
  
  <p>I have found many similar question but they mostly displayed hyperlink along with simple echo and their solution didn't work for me. I want that what ever data gets printed in this line i.e <code>echo "&lt;td&gt;" . $row['name'] . "&lt;/td&gt;";</code> should also behave as a hyperlink and redirect to another page. i tried to insert href link after  but it showed syntax error. Any help would be appreciated
  `</p>