title: Clean HTML and PHP For Loop Not Displaying Anything
body: <pre><code>   &lt;?php for($x = 0; $x &lt;= count($slides); $x++):?&gt; 
                     &lt;li data-target="#main-carousel" data-slide-to="&lt;?php echo($x);?&gt;'" class="active"&gt;&lt;/li&gt;
     &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>Not exactly sure what the error is everything seems right.</p>