title: Display slide with two records at a time
body: <p>I want to display slide with two records at a time. Now I am only getting only one record at a time in slider because I fetch data in while loop. My code is:</p>
  
  <pre><code>&lt;ul class="slides"&gt;
      &lt;?php 
      ...
      while($eventData = mysql_fetch_array($eventSql))
      {
      ?&gt;
          &lt;li class="questions-slide-item"&gt;
              &lt;div class="query clearfix"&gt;
                  &lt;div class="image fl"&gt;
                      &lt;img src='&lt;?php echo $eventData['image']; ?&gt;' style="width:63px; height:61px;"&gt;
                  &lt;/div&gt;                                                 
              &lt;/div&gt; 
          &lt;/li&gt; 
      &lt;?php } ?&gt;
  &lt;/ul&gt;
  </code></pre>