Hello All,
I am writing here an important code snippet for getting the table prefix (if any defined) in Magento.
$prefix = Mage::getConfig()->getTablePrefix(); echo $prefix;
Hello All,
I am writing here an important code snippet for getting the table prefix (if any defined) in Magento.
$prefix = Mage::getConfig()->getTablePrefix(); echo $prefix;
Hello,
could you help with the steps how and where could I insert this code ?
Its a generic piece of code, you can place it anywhere in models or controllers or eve blocks
Very useful, thank you!
you are welcome