Hi,
I want to return a field value from my database as a hyperlink. Im querying the db to return relevant records to the users search, now i need one of the field to return as a record so they can link to a relevant page ive created.
How would i go about this? For now im just returning static values like this..
echo $row['Format'];
Any help would be great
[SOLVED] Returning Hyperlink
Moderator: General Moderators
if a link the record already is, do this you should:
Code: Select all
echo "<a href=\"".$row['Format']."\">".$row['Format']."</a>";