PHP conditional on query string with id
<p>I have this code:</p>

<pre><code>    if('open' == $post-&gt;comment_status || !isset($_GET['wp_accept_favor']))
    {

// show comment form

    }
else
{
    // dont show comment form
    }
</code></pre>

<p>domain.com/?wp_accept_favor then show comment form</p>

<p>domain.com/?wp_accept_favor=2 then dont show comment form</p>

<p>How do I do that? Thanks</p>
