I'm not sure if this helps or not, but if you set a min and max font size you can rand a size for each word. Something like:
<?php
$min_font = '7';
$max_font = '11';
$qry = 'SELECT skill_name FROM skills';
$result = mysql_query($qry);
if( !$result ) trigger_error(mysql_errno() .' - '. mysql_error());
if( mysql_num_rows($result) !> 0 ) trigger_error('No results');
while( $row = mysql_fetch_assoc($result) ) {
echo '<span style="font-size:'. rand($min_font,$max_font) .'pt">'.$row['skill_name'].'</span>';
}