Pagination is an important part of any web application. It’s a process of dividing large content into small parts and displaying on multiple pages in chunks. When data grows in web applications, it cannot be displayed on a single page as it will create issue like browser hang and long vertical scroll. So the pagination […]
Manipulating PHP arrays: push, pop, shift, unshift
In spite of allowing direct access to individual array element, PHP provides various other interesting ways to deal with arrays. In particular, there are many PHP function that make it very easy and efficient to use PHP arrays in different ways such as a stack or as a queue etc.
10 Super Useful PHP Code Snippets
In our previous tutorial, we have published code snippets for Magento Developers. In this post, we have published useful PHP Code Snippets. Code snippets are always useful which saves your precious time and also increase productivity. Today, I’m sharing some super useful PHP code snippets that I’ve collected over the past months.
10 Most Important Directory Functions in PHP
When writing PHP scripts that need to deal with the file-system to change the current directory, creating new directory, change the root directory, gets the current working directory, list files and directories inside the specified path and many more. For this, PHP provides a number of built-in directory functions that can be used to perform […]
10 Super Useful code snippets for Magento Developers
In our previous tutorial, we have published Code Snippets for PHP Developers. In this post, we have published useful code snippets for Magento Developers. When developing with Magento, I have maintain a library of most used code snippets. These code snippets are very useful when developing theme or custom module since they save your precious […]