I successfully am using javascript to redirect from a php wordpage (which I must do with javascript bc headers are already sent). The only problem is that the URL will not capture the $the_SID variable which is captured in php at the beginning of the web page. Is it not possible to jump into php to tack on the $the_SID number to the URL in the javascript code below?
//THIS redirects to the full page, but data blank bc $the_SID is not in URL
<script type="text/javascript">
window.location.href = "http://example.com/full/?sid=<? $the_SID ?>";
</script>
Any ideas?