Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

PHP: Exporting Data to Files

Posted By: Landau17
PHP: Exporting Data to Files

PHP: Exporting Data to Files
MP4 | Video: 720p | Duration: 3:42:50 | English | Subtitles: VTT | 596.7 MB



Providing a file from a database in exactly the same format that's requested by the user is an extremely valuable technique. In this course, David Powers shows you how to export data from a database with PHP in a variety of formats, including rich text, CSV, Excel, Word, OpenOffice spreadsheets and documents, and even XML. He introduces tools like PHPExcel and PHPRtfLite that make the job of formatting the data (fonts, headers, columns, and all) easier to manage, and also shows how to embed nontext data like images in your exports.

Topics include:
  • Connecting to the database with PDO or MySQL Improved
  • Outputting data into a simple text or CSV file
  • Generating a spreadsheet
  • Creating columns and headers
  • Using a class to generate XML
  • Creating a page template