I have page1.php that has the a link to a popup. I need to send a variable to the popup window.
I'm currently using this in the body:
<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>
This is the function actpopup
url = "serv_act.php?act_id=act_id";
options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50";
window.open(url,name,options);
But for line "URL = "serv_act.php?act_id=act_id";, the last act_id i need to be the variable that is in the original link.
Thanks.