bundle each featured category menu?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chrismaddox3d
Forum Newbie
Posts: 17
Joined: Fri Sep 24, 2010 5:22 pm

bundle each featured category menu?

Post by chrismaddox3d »

I am wanting a bundle featured category menu on the front page and side menu,
I wanna be able to bundle each featured category,
Like faucets all as one and something else like dresses all as one,
Would would be the easiest code structure to use when doing this,
Here is my website http://www.youniverseonline.com/
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: bundle each featured category menu?

Post by John Cartwright »

This is a very broad question, and in fact is impossible to answer without your specific implementation.

So let me answer as vague as your question is. Most commonly, you would implement a mysql database containing a table of your categories. Now, I assume you have some kind of flag to indicate that the category is "featured". Therefore, you would would alter your SQL statement to ORDER BY `featured` DESC, which will group the featured results first.
Post Reply