Hi sorry
I figured it out here is my example Kind Regards Brent Clark echo"<td><strong><a href=\"\" onclick=\"window.open('displaybcode.php?file=$var','Test','height=300,width= 300,location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes');opener =self;return false;\">$var</a></strong></font></td>"; I add this part after the jscripts ") opener=self;return false;" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php