* and then Torsten Roehr declared....
> > header("Location: javascript:this.print()");
> >
> > Which of course does not work.  Anyone know how I might do it?
> >
> try this:
> 
> echo "<script language=\"JavaScript\">
> <!--
> this.print();
> //-->
> </script>";

Thanks Torsten, I have managed to do that, but it's in the <body>

like this:

<!-- <script type="text/javascript">
this.print();
</script> //-->

Right in the middle of the body. It doesnt work LoL! - Seems to me that
it should do...?

-- 
Nick W

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

Reply via email to