I'm having a hard time figuring this one out. Can someone help? I have a javascript that I need to get a PHP variable into. How do I do that?
Here's the code:
function doPopup() {
url = "/rp/forms/emailcpanel.php?$_POST[fname]";
width = 175;
height = 40;
delay = 1;
timer = setTimeout("Start(url, width, height)", delay*1000);
}
Javascript is not cooperating because of the $ in the url variable.
Anyone know how I can get around this?
THANKS!
Josh