|
Hi.
I have this table in MySQL
CREATE TABLE `category` (
`categoryId` int(4) NOT NULL auto_increment, `pcategoryId` int(4) NOT NULL default '0', `category` varchar(50) NOT NULL default '', PRIMARY KEY (`categoryId`) ) TYPE=MyISAM to represent a hierarchical category
I need need to set a categoryId to a product in the table
CREATE TABLE `product` (
`productId` int(4) NOT NULL auto_increment, `product` varchar(200) NOT NULL default '', `description` text, `categoryId` int(4) NOT NULL default '0', PRIMARY KEY (`productId`) ) TYPE=MyISAM I need to setup a combo with all the categories but ordered as :
Water
Ozono
Ultra Pure
Cleaning
Kitchen
Bathroom
Note: the category table not are in this order.
Any ideas ?
Sincerely
LFung
|
- AW: [dbforms] Hierarchical Output in combo box Lazaro Fung
- AW: [dbforms] Hierarchical Output in combo box Henner Kollmann
- Re: [dbforms] Hierarchical Output in combo box Lazaro Fung
- AW: [dbforms] Hierarchical Output in combo bo... Henner Kollmann
