Let me share with you how to prevent the ID number from being displayed in scientific notation when exporting a csv file using PHP. Friends in need can refer to it.
Actually, it’s very simple. PHP exports the csv file. After opening it, you will find that the ID number is expressed using scientific notation. Solution: Add "t" in front Tips: The method of exporting to phpexcel is the same as above. Just add a " " space in front. For more information, please refer to: php export csv, php generate csv. |