Adding subcategories to Powerstore
In order to add subcategories to the Powerstore, I'm going through the steps that are outlined in the following thread:
I've created the pages using dataAssist. After the pages were created by the wizard, I found that I had to do some further work on the insert page by adding a server behaviour to the categories dropdown menu in order to populate it with data from the poductcategories table. I found though that when I tested in a browser, I was getting an error showing up in the entries in the drop-down menu, eg.
Notice: Undefined index: in /Applications/MAMP/htdocs/new_site/Admin/Subcats_Insert.php on line 174 > Men's Clothing
Notice: Undefined index: in /Applications/MAMP/htdocs/new_site/Admin/Subcats_Insert.php on line 174 > Women's Clothing
Does anyone know what might be causing these? I have attached the code.
Appreciate further help with all this.