As no one has answered, I will give you my dodgy code that will be close;
$thing = rand(0, numberoffields-1);
$query = mysql_query("SELECT * FROM table");
while ($row = mysql_fetch_array($query, MYSQL_NUM))
{
echo $row[$thing];
}
// or
$query = mysql_query("SELECT * FROM table");
while ($row = mysql_fetch_array($query, MYSQL_NUM))
{
$thing = rand(0, numberoffields-1);
echo = $row[$thing];
}
I think this should do it. Like I say, my code is fairly crude, but I hope it helps.
Cheers,
Neil.