$link = "javascript:popup('".$link."', ".$width.", ".$height.")"; echo "<b><a href=\"".$link."\" class='darklink'>- Click Here to Play ".$game['name']." in a New Window -</a></b>"; PHP: it was coded wrong,because nothing happens when clicked on. i dont know how to edit javascript...so
Is the function popup() defined? If you use Firefox, check the error console and see what error you get.
Error: popup is not defined Source File: javascriptopup('http://www.something.com/play/2463.html', 760, 625) Line: 1
Let's define it then: (Wild guess) <script type="text/javascript"> <!-- function popup(url, width, height) { window.open(url, url, 'height='+ height +'&width='+ width); } //--> </script> Code (javascript):