PHP to return active question details