943,987 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 395
  • PHP RSS
Dec 22nd, 2008
0

subcategory problem

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
knrakesh is offline Offline
35 posts
since Jul 2008
Dec 22nd, 2008
0

Re: subcategory problem

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..
.
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Shanti C is offline Offline
1,641 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Ajax Problem
Next Thread in PHP Forum Timeline: Date problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC