<?php $mater = mysql_query(' SELECT * FROM generator ORDER BY id LIMIT 1 ASC'); if(mysql_num_rows($mater) == 0) { echo 'пусто'; } else { while($res = mysql_fetch_assoc($mater)) { echo '<b>'.$res['slovo'].'</b>'; } } ?>