I would like to check which store id is currently active and show something is store id is for example 1
The code I have now is this:
<?php if (Mage::getModel('core/store')->load($storeId) == 9): ?>
//code here
<?php endif; ?>
But it always returns the if code, no matter what the store id is. I think the problem is in the "=="check. Could someone tell me what the correct syntax is?