PHP Classes
elePHPant
Icontem

GetValues

Recommend this page to a friend!

      CSV Handler  >  All threads  >  GetValues  >  (Un) Subscribe thread alerts  
Subject:GetValues
Summary:GetValues function is only returning unique fields
Messages:2
Author:James LeRoy
Date:2007-01-22 18:28:31
 

  1. GetValues   Reply   Report abuse  
Picture of James LeRoy James LeRoy - 2007-01-22 18:28:31
I'm using a CSV file to plot a graph so I'm reading one column at a time with GetValues(). The problem is, I have multiple 0 values, but it only returns a single 0. I tested this with non zero values as well. Anything that repeats only gets returned once. I also need to remove the sort() at the end of that function as I want the data as it is ordered in the csv, but that didn't seem to make a difference in returning only unique values.

Thanks for sharing your work, it's been very helpful!

  2. Re: GetValues   Reply   Report abuse  
Picture of Prestampa Taiana Prestampa Taiana - 2016-06-09 10:00:28 - In reply to message 1 from James LeRoy
Sorry,
Where and how you use the GetValues command?
Thankyou