Access magento database outside magento
Just a quick note, sometimes you need to access the magento database from a script, but don’t want the overhead of loading the whole magento framework….. Here’s a little snippet of code that grabs the database details from the magento xml config, so you don’t have to store them in your script: <?php class db […]