Someone suggested this solution. But wouldn't this make the result appear more then once.
<?php
$query = "SELECT product_name FROM products" ;
$results = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($results))
{
$results2= $row['product_name'];
shuffle($results2);
echo $results2;
}?>