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

Hi

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

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

Enjoy :)

(0) comments