I am trying to export a MySQL database using PHP, I want the data to be saved to the users computer, I want this data to be saved as a .sql file. I am trying to make it as simple as phpmyadmin.
I have tried everything I can find on Google.
I have tried to do mysql dumps, custom scripts, but they all write the data to the server, never the client computer.
All help is appreciated!