[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.