Php excel export mysql query