Search found 5 matches

by fawadafr
Fri May 18, 2007 4:29 pm
Forum: PHP - Code
Topic: PHP Create CSV File
Replies: 10
Views: 1320

Thanks, So you are suggesting that I should seprate each variable by comma. So, it would look some thing like this: fputs($myfirst,$lName,$title,$email,$pNumber1-$pNumber2-$pNumber3,$fNumber1-$fNumber2-$fNumber3,$sAddress,$city,$state,$zipCode,$country); I am sorry if I misunderstood your suggestion...
by fawadafr
Fri May 18, 2007 3:45 pm
Forum: PHP - Code
Topic: PHP Create CSV File
Replies: 10
Views: 1320

Thanks Everah, Thanks for your help, unfortunately, I am new to PHP scripting. What does "Echo out" mean? I used the same variable for the first and second column of my CSV file. On the first column I got the value of the variable with the annoying quote but on the second column the value ...
by fawadafr
Fri May 18, 2007 2:30 pm
Forum: PHP - Code
Topic: PHP Create CSV File
Replies: 10
Views: 1320

Thank for your respond, I changed my source code according to your suggestion fputs($CSVF, $myfirst); fputs($CSVF, '","'); fputs($CSVF, $lName); fputs($CSVF, '","'); fputs($CSVF, $title); fputs($CSVF, '","'); again, when the CSV file is created I get a " - quote - ...
by fawadafr
Thu May 17, 2007 3:59 pm
Forum: PHP - Code
Topic: PHP Create CSV File
Replies: 10
Views: 1320

Results

Here is the out put of the CSV file: Ahmad" Rashidi Implant Direct LLC arashidi@implantdirect.com 818-444-3316 818-444-3300 27030 Malibu Hills Rd Calabasas CA 91301 United States 5/1/1983 Male 185 LBS Clinical Event 3/28/2006 Here i need to describe the event or problem Vascular Disorders, Clot...
by fawadafr
Thu May 17, 2007 3:56 pm
Forum: PHP - Code
Topic: PHP Create CSV File
Replies: 10
Views: 1320

PHP Create CSV File

Hellow All, I am using PHP script to generate CSV file. For some reason when the script creates the CSV file it adds a quote - " - at the end of the first variable on the first column of the CSV file. I went line by line to see if I had an extra quote but could not fine any typos. Can some one ...