horizon
06-21-2009, 01:45 AM
Ok, this is quite a complicated request so I'll try to make as simple as possible.
Now, I have a csv file let's say like this:
id[title1],name[title2],model[title1]
0,test,00-11-22
As you can see, I have two different titles in the CSV as the fields name.
What I'd like to do is to create a PHP loop that would allow to show each of these titles including their values proportionally with 2 different arrays (one for the titles, one for the values but set by title quantity).
Now, I don't need the CSV manipulation but simply the right PHP loop that would accomplish this type of fetching result.
Is there anyone that would know how to do this ?
Now, I have a csv file let's say like this:
id[title1],name[title2],model[title1]
0,test,00-11-22
As you can see, I have two different titles in the CSV as the fields name.
What I'd like to do is to create a PHP loop that would allow to show each of these titles including their values proportionally with 2 different arrays (one for the titles, one for the values but set by title quantity).
Now, I don't need the CSV manipulation but simply the right PHP loop that would accomplish this type of fetching result.
Is there anyone that would know how to do this ?
