How do I directly show Category Name instead of Category ID that is on another t...

Here is pictorial Question with 3 screenshots: http://imgur.com/a/94vrg

rijans
rijans
  • 1 week ago

Could you show your "Products" database schema? When I look your code, I see "$product->productCategoryID". If you keep your category name in database, you can use "$product->productCategoryName".

PS: If your Category Name rows name is "productCategoryName", you can use this. But if your Category Name rows name is different than "productCategoryName" you can't use "productCategoryName". You have to use your rows name.