Changed Output to mySQL