$word_limit) array_pop($words); return implode(' ', $words); } $query_result = mysql_query($query); $num_rows = mysql_numrows($query_result); //close database connection mysql_close(); ?> Marketing Teacher Home Page