I am setting up a separate theme page for printable content. To tell the browser to use the print theme I’m using a mark ?print after the URL. So how does one get that content?
Something link
<?php if (? = 'print') {
blah blah }
Any ideas?
Marvellous
You use
$_GETarray to access that.If you want the whole string, use
$_SERVER['QUERY_STRING'].In your example, you’d do something like this…