A: 

use html_entity_decode():

$newUrl = html_entity_decode('<a href="index.php?q=event&amp;id=56&amp;date=128">');
echo $newUrl; // prints <a href="index.php?q=event&id=56&date=128">
kgb
A: 

Use htmlspecialchars_decode. Example straight from the PHP documentation page:

$str = '<p>this -&gt; &quot;</p>';
echo htmlspecialchars_decode($str); // <p>this -> "</p>
mhitza
html_entity_decode - Convert all applicable characters, htmlspecialchars_decode - Convert special characters... (from php.net)
kgb
+1  A: 
Rupert
+1 - thanks for the follow-up points about the differences between the two options.
JMC