Thanks guys,
i actually didnt know there was a difference, thanks rachael. I have tried a few different versions but still cannot seem to get the window to popup and resize, it just sends as a normal link. Here is the latest code that I have tried.
<head>
<script language="JavaScript" TYPE="text/javascript"></script>
<a href='reviews.php?songid=<?php echo $songid ?> onclick="window.open('reviews.php?songid=<?php echo $songid ?> ','popup','width=430,height=400,scrollbars=no,resi
zable=no,toolbar=no,directories=no,location=no,men
ubar=no,status=no,left=50,top=300');return false">view all</a>
Its all one line and the only spaces are between the <?php?> brackets. It sends the variables just fine but it just opens as a link instead of a smaller popup window.
On one version that I had tried, for the href= it just had a # sign. Is that the way it should be? When I tried that with the above code it just acted like it refreshed the current page and there was no popup window.
Is it possible to send php variables through js like this? If so, what am I doing wrong?
Thanks alot.