In PHP, which is quicker; using include(\'somefile.php\') or querying a MySQL database with a simple SELECT query to get the same information?
include(\'somefile.php\')
SELECT
If you expect the number of terms to become larger at a later date, you're better off using MySQL with a fulltext search field.