Hi All,
I havent had any luck finding an answer to this - hoping someone here can help.
I have a query which returns a number of rows of data (thats easy 🙂 ).
But what i need to do is prepare a number of "sections" if you like, of that data, and work with these sections one at a time.
the thing that will determine the actual "section" is a value which is stored in the field "feat_ID".
basically, what I want to know is... is it possible to do something like the following:
do {
.... blah blah stuff to do ....
}
while ($result['feat_ID'] = 1)
or something similar? each feature ID should return 1 or more rows, but I dont know if this will screw up if that feature category returns no results.
I also dont want to have to run 5 or 6 queries, selecting only the results for each feature ID.
does this make sense? can anyone shed some light on it?
thanks
M@