If it is in a text file format, it is easy to read and write into a MySQL database table using MySQL or PHP.
Are there just three columns of data?
Is it in a CSV format? It needs to be in a standard format.
One possible solution:
Modwest FAQ and Knowledge Base - How do I import delimited data into MySQL?