Forum Moderators: coopster
E-mail;Name;LastName;Company;Address1;Address2;City;State;Postcode;Telephone;Date
vkavasthi@example.com;vivek;;;;;;;;;2006-06-01
vbn@example.com;;;;;;;;;;2006-06-01
ad@example.com;;;;;;;;;;2006-06-03
ac@example.com;;;;;;;;;;2006-06-03
vivek@example.com;;;;;;;;;;2006-06-12
VC@EXAMPLE.COM;;;;;;;;;;2006-06-02
vkasd@example.com;;;;;;;;;;2006-06-02
asd@example.com;vivek;avasthi;Webwalas;J-71 A;;Delhi;Laxmi Nagar;100092;9811521009;2006-06-03
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivek@example.com;;;;;;;;;;2006-06-12
vivekavasthi@example.com;;;;;;;;;;2006-06-12
hai@yahoo.com;dasdfs;dfSADF;sdfsdf;sdfsdf;;fsdf;fsdf;;sdfsd;2006-06-21
i want to export these text as a CSV file on my coputer... How can i do this..
[edited by: jatar_k at 8:47 am (utc) on June 27, 2006]
[edited by: coopster at 1:30 am (utc) on June 28, 2006]
[edit reason] examplified [/edit]
$text = [url=http://us2.php.net/manual/en/function.str-replace.php]str_replace[/url]("\r\n",",\n",$_POST["text"]);
Good luck!