Best way to Insert multiple rows in a table using PHP/MySQL

In this tutorial I will show you ,How to insert multiple rows productively into a table with single SQL Query using PHP’s Iterators.

I hope you like this Post, Please feel free to […]

Twitter Bootstrap3 Media Queries

Bootstrap 3 is a mobile-first front-end framework. I’ve included the correct order for the Media Queries below, but I’ve also included at the bottom of them the non-mobile first breakpoints in case some people aren’t […]

How to create your own controller plugin in ZF2?

Our step-by-step guide explains how you can create your own controller plugin in zf2.Fortunately creating controller plugin is very easy task. Create a directory called plugin in your module controller directory, then […]

How to Comment Your PHP Code?

PHP allows three different methods of formatting comments. Comments are generally known as single line and multiple line Comments.A comment in PHP code is a line that is not read as part of the program. Its only purpose […]

How to display image in CGridView in YII

This post is a simple example for showing images in CGridView in Yii.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.

How to connect to MySQL database in CodeIgniter?

Yesterday someone asked me to make a tutorial about Connecting to Database in CodeIgniter Framework. In order to make connection to database in Ci , we need to do only few configuration changes in your database.php config […]

How to Remove Directories Recursively with PHP ?

You can’t delete non-empty directories with one of PHPs own functions so in order to delete Directories Recursively just fallow the below shown logic,shown PHP function scans a given directory and deletes all files […] Protection Status