PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
CSV is comma separated, right? You could join your arrays, then implode() them using a comma. Then, create a CSV file with your result as it's content.
with some forloops, implode, and a little creativity, this is defenantly feasable.
just be sure to wrap your values in double quotes, and as long as you understant the formatting for .CSV, you should be fine.
I just did this a few weeks ago in the opposite direction... i turned .CSV files into arrays... It's not really as complex as it may seem
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]