title: How to Make a table field return as a link (from a simple echo command)
body: <p>I've been trying for hours to figure out how to put a link into the following text output via PHP <code>echo()</code>.  I basically want to make the title field I'm pulling from my events table (as seen in #4 in the code below) to come back into the browser as a link instead of just text...</p>
  
  <p>the original code that brings back the event title:</p>
  
  <pre><code>&lt;?php
  // 3. Perform database Query to bring list of events
  $result = mysql_query("SELECT * FROM events", $connection);
  if (!$result) {
      die("Database query failed: " . mysql_error());
  }
  
  // 4. Use returned Data
  while ($row = mysql_fetch_array($result)) {
      echo $row ["eventtitle"]."&lt;br/&gt;".$row["eventdesc"]."&lt;br/&gt;";
  }
  ?&gt;
  </code></pre>
  
  <p>How would I go about getting that <code>$row["eventtitle"]</code> to appear in the browser as a link? Let's say if the link was just "eventprofile.php".  This is probably an easy fix, but I've been getting a million errors with trying different things with <code>&lt;a href&gt;</code>s.</p>