When a user uploads a file to the database it displays filename.png in the table, I would like it to display a link EX: http://website.com/file.png in the table.
Here is an idea of how I started
echo "<td>".<a href="http://website.com/">Download/</a>$sound['downloadlink']."</td>";
Orignal segment of code:
echo "<td>".$sound['downloadlink']."</td>";
Your example isn't right. You meann this?
echo "<td><a href='http://website.com/".$sound['downloadlink']."'>Download/</a></td>";
There is alot of examples of concatenation here:
How abt:
echo "<td><a href='http://website.com/" . $sound['downloadlink'] . "'>Download/</a></td>";
Try not to echo HTML unless you have to. A better way is to echo variables inside HTML:
<td><a href="http://website.com/<?=$sound['downloadLink']?>">Download</a></td>
If you absolutely have to, you can do this:
echo "<td><a href='http://website.com/$sound[downloadLink]'>Download</a></td>";