NickHill - 2013-06-04

I may have got the wrong end of the stick, but I've just got BNC Baby, which I was intending to use as a sample corpus for some linguistic experiments written in PHP/MySQL. So I was thinking it might be possible to export the corpus as, say, a CSV or XML file, which would list each word and its frequency, which I could then import into MySQL. I can't find an option to do this, though - just ways of searching the corpi a word or phrase at a time. Is this possible? How would I go about doing it?