Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
509 views
in Q2A Core by
function q_list_item($question)
{
if($question['raw']['categoryid'] != "25" and $QUERY_STRING != "qa=flood") {
$this->output('
');

$this->q_item_main($question);
$this->q_item_stats($question);
$this->q_item_clear();

$this->output('
<!-- END qa-q-list-item -->', '');
}
}

PHP give me a message "Notice: Undefined variable: QUERY_STRING in /home/u224517660/public_html/qa-include/qa-theme-base.php". Why? How can I get the query string?

1 Answer

0 votes
by
 
Best answer

I think you need $_SERVER['QUERY_STRING'];

...