I'm making the php script we need to dump the database to an excel readable file. Here is what I've got so far.