Forum Moderators: coopster
<script language="javascript" type="text/javascript">
function popitup(url)
{
newwindow=window.open(url,'name','height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
}
</script>
echo '<a href="question.php?qid='.$row['qid'].' onClick="return popitup('viewpage.php?qid='.$row['qid'].'')">Click here</a> to start the quote calculator</b></center><br>';
I suspect that all the quotes in this line of code are messed up, could someone help me get this line of code right?
I would appreciate it
Thanks
echo '<a href="question.php?qid='.$row['qid'].' onClick="return popitup(\'viewpage.php?qid='.$row['qid'].'\')">Click here</a> to start the quote calculator</b></center><br>';
Good luck! :)
I have a question, if i use a php page in a popup window created in the way i have done above, can i still pass sessionm variables between the popup pages? like if i open a popup and set a session variable to 0 then when i click next in the popup window it ads 1 to the session variable so it is remembered when it gets to the next page of the popup window?