Count Non-Empty Array Values

Counting the elements in an array is quite simple. The $counter variable will now contain the value of 3. However, if your array contains empty values like the following array it would still return 3. This of course would be problematic in some situations of your script. In order to get the accurate count, we…

Optimizing Magento For Speed

Optimizing Magento Magento is a very popular eCommerce application. It offers a great deal of customization and abilities from the initial installation. Here are a few suggestions for optimizing a Magento installation. Changing The .htaccess File Enabling Output Compression In your .htaccess file for Magento, you will find a section of text starting with the…