What is recursion? How to get ids of category using PHP recursive function

What is recursion : Recursion is the process of repeating items in a self-similar way.  A recursive function is one that calls itself. Recursion is the way to resolve problem in a sequence. In the first step you set some business logic to get data and hold it as to more data in further step

Useful php string function with practical examples

As a Open source developer (PHP), you needs to deal with different types of functions on daily basis. While working on strings, I found following basic string functions useful on most of the occasions in my projects. I listed out them with examples. Lets explore them. 1. substr() – Return part of a string Example

Best collection of firefox addons for web designers and developers

Firebox is one the most fastest growing browser among competitors.  Its became the best browser for web development in popularity. Firefox relies on the extension system to allow users to modify the browser according to their requirements instead of providing all features in the standard distribution. While developing projects and other sources, I came to

.htaccess basic features with example

.htaccess files (or “distributed configuration files”) provide a way to make configuration changes on a per-directory basis. In simple words, htaccess allow you to override the default server configuration using certain commands. htaccess file works in Apache Web Server on both Linux/Unix and Windows operating system. This post has some basic example and method to

how to include an external css and js with javascript dynamically

Generally we includes an external css ( Cascading Style Sheets ) and js ( javascript ) files in the HEAD section of our HTML page. We include them by following conventional method - This method added files to the page as they encountered in page source code or synchronously. Here we will learn how to