Why not just change the var to a .= instead of a = and then change the query to pull all categories and sections within a table where the categories are made. From there it's just a matter of editing what's inserted in the usercp shell and then recoding the query on your custom page. But your custom page can be based on a request so that your query doesn't have to be edited too much.
Giovanni Martinez
|