Check out the below code.
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
$result = $db->query('SELECT * FROM users where id=4');
You can reset Magento file & Directory to their default and secure permissions, by following commands from the directory where Magento is installed
find . –type f –exec chmod 6...
PUT THE BELOW CODE IN PHP TAG WITH ECHO. YOU WILL FIND YOUR BLOCK WILL BE THERE.
$this->getLayout()->createBlock('cms/block')->setBlockId('static_block_id')->toHTML();...
Full form of EAV is Entity–attribute–value model.
EAV is a data model to data model to describe entities.
In EAV data are stored in different smaller tables rather than storing...
To change Magento Core API settings, you have to
Go to Admin menu, choose System -->Configuration
Select Magento Core API on the left side of the Configuration Panel, under S...
Disable the Magento log
Disable any un-used modules
Magento Caching
Enable Gzip compression
Optimize your image
Optimize your Server
Use a Content Delivery Network (CDN)
U...
×
Get in Touch
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga,
aspernatur.