Oh snap! You are using an old version of browser. Update your browser to get new awesome features. Click for more details.

How to Print Magento Query


view your query in browser try this code. i have write small example you have follow this code and print your query

$collection = Mage::getModel('catalog/product')->getCollection();
echo $collection->getSelect()->__toString();exit;

Enjoy :)

(0) comments