<?php $allRows=mysql_query("SELET * FROM Tablename"); while($row = mysql_fetch_array($allRows)){ echo $row[0]; } ?>
$row[0]