select * from sozler order by rand() limit 1
burda rand fonksiyonu rastege veri dönderir.
ornek kullaım
$query3 = “select * from sozler order by rand() limit 1”;
$result3 = mysql_query($query3) or die (mysql_error());
while ($solzer = mysql_fetch_assoc($result3))
{
echo $sozler[“soz”];
}