So I have something that looks like this and I am trying to open a new link with predetermined size/with inside a PHP echo. Here is what I have,
echo '<a href=“noticeboard.php?charid=' .$row_char['noticeID'].'"STYLE="text-decoration: none" target="_blank"> [Announcements]<br>
I have tried :
echo '<a href=“noticeboard.php?charid=' .$row_char['noticeID'].'"" onclick="window.open (this.href, 'child', 'height=400,width=300,scrollbars'); return false">W3C</a> [Announcements]</a>
What am I doing wrong? Is there a easier way to implement this.
Thanks.