Guest Posted November 7, 2007 Posted November 7, 2007 My site has thousands of categories and I am trying to figure out a way of pulling categories from the database where the categories_title contains certain keywords and then display the results on the product_listing page. In simple terms I want to do this: In the database table “Categories_description” find “categories_title” that contain the word “my keyword” Does anyone the equivalent php or sql code? Thanks.
Jack_mcs Posted November 7, 2007 Posted November 7, 2007 You would use something like select categories_name from categories where categories_name like 'abc' Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted November 7, 2007 Posted November 7, 2007 You would use something likeselect categories_name from categories where categories_name like 'abc' Jack Thanks Jack, I'll give it a go. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.