How can you use the part after the question mark in the url which comes as a output of the following variable?
$_SERVER['HTTP_REFERER'];
I run unsuccessfully
if (0 !== $_GET['question_id'] && isset( $_GET['question_id'] ) ) {
$result = pg_execute( $dbconn, "query_fetch", array( $_GET['question_id'] ) );
}
if (isset( $_SERVER['question_id'] ) ) {
$result = pg_execute( $dbconn, "query_fetch", array( $_SERVER['question_id'] ) );
}
// problem here!