echo ('<a href="#" onclick="window.open(\'news/old_news_list.php?month=$j&year='.$i.'\',\'\',\'width=700,height=500\'); return false \" >$thisMonth</a>'); I am trying to get this to open in a popup however it doess not open and I cannot work out why. Must be a syntax arror as the page displays ok. Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php