hi, im trying to make a 'print this page' feature in php.
using this code:
$print_link = $SERVER["PHP_SELF"] . "?" . $SERVER["QUERY_STRING"] . "&page_view=print" ;
I'm trying to tack on the command to show the printer friendly page. problem is, it doesn't seem to be acknowledging the rest of the query string, which has some commands for other aspects of the page. so if, for insance, you're viewing the page inside a gallery where the query string has the info for what gallery page you're on, when you click the print this page link, it dumps you out at the top of the gallery 🙁
this is inside a function, and $HTTP_GET_VARS, $HTTP_POST_VARS have been globaled.
Any suggestions? Thanks
Frizzo