hi everyone,
i write data from database to the csv file,but i face problem how to print the csv file with multiple colors background for example first line is green then second line must be blue,
please help me how can i do this in php
mehrantahir
0
Newbie Poster
Recommended Answers
Jump to PostYou shouldn't post the same question in multiple forums. Start somewhere and if you don't get an answer there, you will probably get a suggestion on the best place to get an answer.
A CSV file is pretty simple. It is almost the same as a text file in …
Jump to PostI am afraid you can't. CSV is as far as I know a text file and can not contain formatting. You should save your data in excel or ods or pdf (or similar) to use formatting.
All 8 Replies
chrishea
182
Nearly a Posting Virtuoso
pritaeas
commented:
If I'd seen this I wouldn't have posted.
+13
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
broj1
356
Humble servant
Featured Poster
mehrantahir
0
Newbie Poster
broj1
356
Humble servant
Featured Poster
mehrantahir
0
Newbie Poster
broj1
356
Humble servant
Featured Poster
chrishea
182
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.