This really should be in the database forum (really, that's what it's there for), but the easiest way to do this is to save the file as a comma-delimited file (.csv) and then import it into your database. In MySQL this can be accomplished with relative ease using the LOAD DATA INFILE command. If your database of choice doesn't have a comparable command, it should be pretty trivial to write a PHP script to do it for you, line by line.