I have looked at all the posts I could find but they don't quite to seem to do it!
Any help appreciated.
Have inserted relevant php code here:
Previously having done the search and placed the number of matches in the variable $num_rows I then turn the relevant data into variables $displayurl and $displaytitle, then place them in a table cell. I want to display the data in $displayurl as a hyperlink.
$i = 0;
while ($i < $num_rows) {
$displayurl=mysql_result($result,$i,"url");
$displaytitle = mysql_result($result, $i, "pagetitle");
echo "<tr>";
echo "<td align = left>" .$displayurl. " </td>";
echo "<td align = left> " .$displaytitle. " </td>";
echo "</tr>";
$i++;
}