Second time now I’ve had the client request that set their Magento prices to display and round to the third (3rd) decimal point. This time I will share with you how I performed this change in Magento (ver. First I FTP to my lib/Zend/Currency.php file and change the following: to Please note that if… Read More

I received some clients website files today in which Firefox was throwing a syntax error on the DOCTYPE. To fix this make sure that each of your javascript calls contains type=”text/javascript”. The client had only language=”javascript”. This attribute has been deprecated. It was used to select other programming languages and specific versions of JavaScript. You… Read More

The include statement is only one of four statements that you can use to include another PHP file in a currently running script. Those four statements are: include require include_once require_once include and require are almost identical. The only difference between them is what happens when the specified file is unable to be included (that… Read More

I must humbly admit that Navicat beats my trusty and beloved phpmyadmin for speed, usability, and functionality sake. If you are a dbadmin and haven’t tried it yet give it a whirl and I think you’ll be pleasantly surprised how easy yet robust this piece of software is.… Read More

Want to say thanks to for having a WordPress function to block a specific WordPress category from appearing in my RSS feed. I just added this to my theme’s function.php file and changed the category number to the number of the category to omit and voila, the RSS feed is now free of the… Read More

Today I was writing some code for another site and I was looping through a DB query and outputting the results and I noticed that the output was one index off. If you ever encounter this problem make sure that you do not have your query string followed by $row = mysql_fetch_array($query) and then have… Read More

This morning at 12:26AM I received the following email from Google: ************************************************* Dear Google Apps admin,​ In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology. This includes faster JavaScript processing and new standards like HTML5. As a… Read More

Here’s a quick answer to a Linux CLI question that I am asked on a regular basis. The scenario goes like this. You just unpacked a gzip’d file and you have a directory full of files and directories now. You don’t want those files and directories in that directory but rather up one directory…what do… Read More