Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-09-2009
Member
 
Join Date: Feb 2009
Posts: 62
Unable to add multiple categories in PHP?

I have tried out creating the multiple hierarchy in my PHP program as well as using PHP program but unable to get the expected result it just output me the single line and that is only first line of my hierarchy that means it does not go beyond the line one. Can any tell me how do i achieve that..
Reply With Quote
  #2  
Old 10-09-2009
Member
 
Join Date: Apr 2008
Posts: 193
Re: Unable to add multiple categories in PHP?

You Just need to add an table in to DB and store all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not. Or else you Just add an table in to DB and store ur all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not.
Reply With Quote
  #3  
Old 10-09-2009
Member
 
Join Date: Oct 2008
Posts: 180
Re: Unable to add multiple categories in PHP?

I have seen several similar posts for other APIs stating to add the properties along with the cm:generalclassifiable aspect, although this similarly does not work in PHP. The standard filter plugin only works with the main category. You can use the $showCat variable and the Event Manager to make your own filters when can then be used to filter multiple categories.
Reply With Quote
  #4  
Old 10-09-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: Unable to add multiple categories in PHP?

You can create a second set of categories that mimics the first and then use them to assign a second category. will render all nodes that belong to taxonomy 4 and 8. If you want to theme the output specifically you may need to loop through the dataset returned ($myNodes). just add an table in to DB and store ur all products with respective each category while you retrieve form DB just compare this two table whether it has same id or not.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to add multiple categories in PHP?"
Thread Thread Starter Forum Replies Last Post
Processors and its categories Hemendu Motherboard Processor & RAM 5 13-01-2011 10:05 PM
Storage of multiple categories into a single unit $Bird$ Software Development 3 08-10-2010 10:45 AM
How to Copy Paste the SAME five sub-categories into 600 categories on Microsoft Office Project 2003? Please help it will take me forever doing each one on its own. nicolasseifert Windows Software 1 06-07-2010 11:50 PM
PC Sync with Outlook Categories Galbraith Windows Software 5 18-04-2010 05:40 AM
Customize categories on my PSP Jaheel Portable Devices 4 29-08-2009 08:43 PM


All times are GMT +5.5. The time now is 06:43 AM.