This works:
[code=html]<a href=”#” onclick=”window.open(‘supporters_list.php’,’_blank’,’height=400, left=100, location=no, menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no, top=150, width=850′)” alt=”link to Supporters list”>review Supporters list</a><br><br>
This doesn’t work:
[code=php]<?php
print ‘<td>’.$row[4].'</td><td>’.$row[5].'</td><td>’.$row[6].'</td><td><a href=”#” onclick=”window.open(“supporter_interests.php?supporter=’.$row[0].'”,”_blank”,”height=250, left=100, location=no, menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no, top=150, width=450″)”>Interests</a></td></tr>’;
?>
The trouble comes, of course, with needing concatenate a variable into the javascript argument string. I’m sure there has to be a way to do it, but nothing I’ve tried works. Any help will be greatly appreciated.