PHP converts the database content into csv files separated by commas (,). To prevent the database content from containing commas (,) and affect the file content display, add (double quotation marks )!!!? Phpincludeinit.php?=file_name_file.csv; $ str_content_aid, username, password, role, status, created_time, updated_timen; file_p
PHP converts the database content into csv files separated by commas (,). To prevent the database content from containing commas (,) and affect the file content display, add double quotation marks )!!! ? Phpinclude init.php?=file_name_=file.csv; $ str_content _ = aid, username, password, role, status, created_time, updated_time \ n; file_p
PHP converts the database content into csv files separated by commas (,). To prevent the contents of the database from containing commas (,) and affect file content display, add "" (double quotation marks )!!!
Original article: http://www.phpthinking.com/archives/240