Friday, 9 October 2015

magento get table prefix

Use this following code you will get the prefix.
echo Mage::getSingleton('core/resource')->getTableName('core_config_data');

No comments:

Post a Comment

Thanks for your comments.