All pastes #255258 Raw Edit

Mine

public text v1 · immutable
#255258 ·published 2006-11-22 19:54 UTC
rendered paste body
Okay guys, I got this query "SELECT id, count( cat ) AS counter, sum( reply ) AS reply FROM forum_question", and what I want to do is assigned each row it comes back wtih a unqie id for the each logical group that it competes, but making sure the id stays the same for each row with that group. What im doing to do is put this into an php array, so I can output the correct uniqe row data onto this page that will show the results for the groups. Any one know how to do this?