If I understand right you just want to make sure the query string is right. You could varify it by every field using $GET['field']. Also, if you want to varify it you must use == not =. And, === is strickter than ==, look at the php docs here. Hope this helps! 🙂
<?php
if ($_SERVER['QUERY_STRING'] == '') {
// The query string is correct
} else {
// The query string is NOT correct
}
?>
OR
<?php
if ($_GET['Detail'] == 'News' && $_GET['Department'] == '66' && $_GET['morestuff'] == 'Yes' && $_GET['evenmorestuff'] == 'Yes') {
// The query string is correct
} else {
// The query string is NOT correct
}
?>