CrusaderAD
May 7th, 2012, 03:20 PM
I need to do a PHP redirect at the bottom of the script after everything executes, so a redirect in the header doesn't work. I tried putting
<script type="text/javascript">
<!--
window.location = "http://www.google.com/"
//-->
</script>
At the bottom outside the php tags, but it doesn't redirect. Any ideas?
<script type="text/javascript">
<!--
window.location = "http://www.google.com/"
//-->
</script>
At the bottom outside the php tags, but it doesn't redirect. Any ideas?