Is there any reason not to do this (if I also provide a manual button incase they have got javascript disabled)
instead ofPHP Code:<?php
echo '<script type="text/javascript"> window.location = "../..' . $lastPage . '"; </script>';
?>
PHP Code:<?php
header('location:../..' . $lastpage);
?>
Because I need to redirect based on a condition after some content has been loaded...
Thanks, Keyboard1333



Reply With Quote

Bookmarks