Martin Marques wrote:
I need to print a page and redirect the browser to another page. As it can't be done with PHP, I thought about using javascript. Can anyone give me an advise on how to do it?


You are right, and that means you should ask on javascript list. But here you have it anyway:


<script>
function printAndRedirect() {
    print();
    location="someotherscript.php";
}
</script>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to