Hi,
I am not 100% sure I understand what you are asking, but I will give it a shot anyway.
If I am correct you want to dynamically create your accordion control based on the contents of your table. I am not familiar with the jquery control but it should just be a matter of using PHP to produce the JS for your control:
Code:
(loop through active categories) {
echo "JS or Markup to create accordion header using {prod_cat_01.name}";
(loop through active products) {
echo "JS or Markup to create accordion header using {prod_name}";
}
}
HTH,
JC