You are here:
» A Better Way To Export Excel Data From PHP In Multilanguage Situation
A better way to export Excel data from PHP in multilanguage situation
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
- : Function ereg() is deprecated in /home/bulahema/public_html/old/includes/file.inc on line 645.
Exporting to Excel from PHP is usually done by creating tab-separated or comma-separated files. These types have language compatibility problems due to Excel's dumbness in using the right encoding to open them automatically.
Unless the user's system fits with the encoding, otherwise there is a hell of steps to go through.
To solve this problem, you can actually export the data in HTML table format and specify the right encoding to use in the header section.
This does not only solve the problem, it also offers CSS style controls of data presentation.
Much better than working with the traditional and tedious tab/comma file to support multilanguage!
最新评论