As a PHP programmer, we always need to write INSERT statement repeatedly to insert records into database. This sometimes makes us annoyed to write same thing again and again in same script. To overcome this, we have created a generic insert script to handle all insert record by just passing array of table field name […]
php
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 […]
11 Useful Code Snippets for PHP Developers
As a PHP developer, it is very useful to keep code snippets in a personal library for future use. These code snippets can save your precious time and also increase your productivity. Here is a list of some useful PHP code snippets that I have added to my personal PHP code library during working on […]
8 Useful PHP Functions You Need to Know
If you are familiar with the basics of PHP, then you’re surely familiar with the built-in PHP functions. PHP is a very rich in terms of built-in functions. It has more than 1000 built-in functions. These functions can increase efficiency and speed-up development if uses smartly.