Re: [PHP] manipulating CSV files

2007-10-03 Thread Wolf
Sure, just use the code I/we provided as the basis for what you need. When you get stuck, post your code and we'll be happy to look at it for you. Wolf pere roca <[EMAIL PROTECTED]> wrote: > > hi Wolf and Jim, thanks for the answer! Very useful. > Now It would be wondeful if I can p

Re: [PHP] manipulating CSV files

2007-10-03 Thread pere roca
hi Wolf and Jim, thanks for the answer! Very useful. Now It would be wondeful if I can pick up the values from a CSV file (coordinates) and apply a postGIS/postgreSQL function (Select ...) to this data and add the resulting values as a new filed in the CSV ! Is that possible? Thanks,

Re: [PHP] manipulating CSV files

2007-10-01 Thread Jim Lucas
Wolf wrote: / $filename=""; // Name of your CSV file $file_path = ""; // whatever your files are pathed $filename = $file_path.$filename; $handle = @fopen($filename, "r"); $k=0; $entry = $file_path . "entry_file.txt"; // I use this to make a new entry file $entry_fi

Re: [PHP] manipulating CSV files

2007-10-01 Thread Wolf
/ $filename=""; // Name of your CSV file $file_path = ""; // whatever your files are pathed $filename = $file_path.$filename; $handle = @fopen($filename, "r"); $k=0; $entry = $file_path . "entry_file.txt"; // I use this to make a new entry file $entry_file = fopen($en