title: PHP Dynamic Marquee scroll items one at a time
body: <p>I have created a function which grabs news titles from a table and scrolls the titles in a marquee.</p>
  
  <p>It works as intended except for the point where it's not scrolling them one at the time but all at the same time.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$query = mysql_query("SELECT * FROM `news`");
  
      echo '&lt;ul&gt;';
  
      while (($row = mysql_fetch_assoc($query)) !== false) {
  
          $title = $row['title'];
  
  
          echo '&lt;li&gt;';
          echo '&lt;marquee behavior="scroll" direction="left"&gt;News: '.$title.'&lt;/marquee&gt;';
          echo '&lt;/li&gt;';
  
  }
  </code></pre>
  
  <p>How can I get it to scroll the titles 1 at a time instead of the current All at the same time?</p>