generate a csv template - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: generate a csv template (/showthread.php?tid=60203) |
generate a csv template - El Forum - 02-04-2014 [eluser]behnampmdg3[/eluser] Hi; I need to generate a csv template for users based on the value of the columns in the table's row. For example lets say the table has 3 columns: id, name_selected, email_selected. For row id = 8, if the value of name_selected = 1, I need to add name to the csv. Same if the value of email_selected is 1, I need to add email to the csv. Would you please guide how I can do this. Thanks. |