title: how to show multiple news in marquee from mysql using php
body: <p>i have a problem to retrieve data from mysql to show in marquee,when i go to my webpage it shows only one data from the database in marquee.my question is how to retrieve all the stored data.thank you
      below is the code section:</p>
  
  <pre><code>$select="SELECT newsid, headlines from news WHERE uploaddate order by uploaddate desc limit 4";
  $rsd=mysql_query($select);
  
  while($row = mysql_fetch_array($rsd))
  {
      $newsid=$row['newsid'];
      $tittle=$row['headlines'];
      $uploaddate=$rowdata['uploaddate'];
  }
  </code></pre>