subcategory problem

Reply

Join Date: Jul 2008
Posts: 32
Reputation: knrakesh is an unknown quantity at this point 
Solved Threads: 0
knrakesh's Avatar
knrakesh knrakesh is offline Offline
Light Poster

subcategory problem

 
0
  #1
Dec 22nd, 2008
hello friends
iam having a problem
if we want to add a category and subcategory in single page
and in a single database
in database can we able to
please help me in adding category and subcategory in a single page please

thank you
KNR
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 1,071
Reputation: Shanti Chepuru is on a distinguished road 
Solved Threads: 98
Shanti Chepuru's Avatar
Shanti Chepuru Shanti Chepuru is offline Offline
Veteran Poster

Re: subcategory problem

 
0
  #2
Dec 22nd, 2008
you can't add category and subcategory at one page, because while adding the subcategory , we have to insert category id as its parent_id, so we don't insert category, we don't know under which category ,we are going to insert sub category
But we can use only on table to both...
And also your thread can be solved by triggers..
.
Be intelligent, But Don't try to cheat.. Be innocent But Don't get cheated..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC