How to download file from database in php
To create a backup copy of your Joomla 3 site manually, you need to archive the two parts of the application - all Joomla files and its database. This tuto How to create CSV file using fputcsv() in PHP. This article will show how we can create and download CSV files from static or dynamic data.