html - How to insert a link before php variable -
when user uploads file database displays filename.png in table, display link ex: http://website.com/file.png in table.
here idea of how 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. meann this?
echo "<td><a href='http://website.com/".$sound['downloadlink']."'>download/</a></td>"; there alot of examples of concatenation here:
Comments
Post a Comment