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:

http://php.net/manual/en/language.operators.string.php


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -