I have the following code in view.phtml that checks if a product is in a specific category (2495), and if it is, outputs some text.
EXISTING CODE
<?php if (Mage::registry('current_category') && Mage::registry('current_category')->getId() == 2495) { ?>
CONTENT GOES HERE...
<?php } ?>
How do I go about checking if the product exists in more than one category (e.g. 2495, 2496 & 2497)?