I have this code that I need help with. I just want to add the variable affid onto the end of the below string. So if $s="1009" in the php code then I would want the last line to become:
setTimeout('window.location="http://www.domain.com/link.php?o=10&s=1009";', 1);
Can someone please help me?
PHP Code:
<script> function redirect() { var affid = "<?php echo $s; ?>"; setTimeout('window.location="http://www.domain.com/link.php?o=10&s=";', 1); } </script>
|