Jump to content

Problem with the & symbol


eddy556

Recommended Posts

Hi, I've got a webserver running with PHP which serves media files using links.  In order to allow the file to be embedded on the page I have used this link

 

echo "<a href='embed.php?mp3=$filename&name=$file' onClick='return popup(this, \"notes\")'><img src='stream.gif' alt='Stream this song' width='14' height='14' border='0'></a>"; 

 

I have no idea how to get around this.  Is it something to do with HTMLENTITIES()??

 

Thanks :-)

Link to comment
https://forums.phpfreaks.com/topic/75896-problem-with-the-symbol/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.