I'm turning to this forum once again as this forum has helped me learn a great deal.
I'm hoping that it is possible to pull data from a table and link to it. In short, I simply need to be able to pull a field from the database and insert it into a web link.
Here is the link and the 'link_id' is where I want the code to pull the data from. The tables are linked correctly as I can display the link_id in the table. The only problem I'm having is creating the link.
Code:
echo "<td><a href='index.php?option=com_mtree&task=viewlink&link_id='".$row['link_id']." target='new'>" . $row['link_name'] . "</a>";
So, to be clear, my site uses the same first part of the link and the only difference is the link_id. I can get the first part of the link to appear by using this code but I can't get the link_id number to show up in the link.
Any help, much appreciated.
Ken