do this in your query.. not tested and There are much better ways to do it but this is simple and readable. (SELECT site,"1" as n FROM site_table LIMIT 1,1)union(SELECT site,"2" as n FROM site_table LIMIT 2,1)union(SELECT site,"3" as n FROM site_table LIMIT 3,1)etc[/code]or build your own data source but that is a big topic. Post Edited by Chris Collins at 01/20/09 21:14 Post Edited by Chris Collins at 01/20/09 21:15