Post image for Magento: Get Payment Method name using Order ID

Magento: Get Payment Method name using Order ID

In this quick tip we will see how how we can get Payment Method name using the Magento Order ID. This will be very useful when you dealing with creating your own extension. Here article title is self explanatory that we are trying to accomplish, so without wasting time let’s look at the code block.

Post image for Catch Fatal Errors in PHP

Catch Fatal Errors in PHP

In this tutorial we will see how to catch the fatal errors in PHP. Normally we can’t cache FATAL Error because those are FATAL. This will be useful when you want to show specific well formatted error page rather than PHP Error, when your program ends unexpectedly due to some fatal errors.

Post image for Detect an Ajax Request with PHP

Detect an Ajax Request with PHP

In this quick tip article we will see how we can detect AJAX request using PHP. This trick will be very useful and handy when you want the same request to behave differently for AJAX request and normal request.

Post image for Disable Login/Logout in MediaWiki

Disable Login/Logout in MediaWiki

We all know disabling login feature in MediaWiki is very odd thing. But recently I had to work for such feature. I want to make MediaWiki available to all user, there should not be login/logout feature at all.

Post image for Order By with Group By in MySQL

Order By with Group By in MySQL

Its a post after so long time, actually very busy schedule. But today I got something to learn to I have managed spare some time for the same and consider sharing with all my readers.