title: How to hide the div of heading if condition is true
body: <p>I just want to hide the div "List of dashboard blocks that are available to your dashboard." if the $check==0</p>
  
  <pre><code>&lt;div id="heading" style="display:block"&gt;List of dashboard blocks that are available to your dashboard.&lt;/div&gt;
  
  if ($check == 0) {
              ?&gt;
              &lt;tr&gt;
                  &lt;td&gt; &lt;div class="col-lg-12 col-md-12"&gt;All blocks are already added into the dashboard&lt;/div&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;?php }
          ?&gt;
  </code></pre>