Byronwells
03-20-2010, 09:36 AM
Alright Guys
I am trying to work out what is the right mysql/php command to get this to display correctly
I have got a table called smp_categories which has a field in it called id. This records what number position is the category.
I.e if I add category called Master it will record it a position 1, then another category called Private will be recorded with position 2, and so on
I am thinking I can use that id to be able to it under a newest product url link. So that when an user clicks on that link it will show the latest category that we have added to the membership..
My problem is trying to work how to tell mysql/php to do that..
I am trying to work out what is the right mysql/php command to get this to display correctly
I have got a table called smp_categories which has a field in it called id. This records what number position is the category.
I.e if I add category called Master it will record it a position 1, then another category called Private will be recorded with position 2, and so on
I am thinking I can use that id to be able to it under a newest product url link. So that when an user clicks on that link it will show the latest category that we have added to the membership..
My problem is trying to work how to tell mysql/php to do that..