Author: <span class="vcard">Deepak Shah</span>

It’s always interesting to change the layouts and styles of a website dynamically, most of the websites nowadays provide a feature of changing the background color of a website dynamically.So today we will learn to dynamically change the background color of a website using bootstrap color picker in this tutorial.

In this tutorial, we have used Bootstrap Color Picker plugin to create color picker. The tutorial explained in very easy steps with link to download source code.

Background change color Bootstrap CORE PHP PHP Snippets

We got into various situations where we need to find the time elapsed from a DateTime or simply a timestamp. To find the solution for these kinds of situations we can use Time Ago Function in PHP. Our today’s tutorial is based on the implementation of time ago function in our program with a simple example.

CORE PHP PHP Snippets time ago function

Hello guys,
PHP HURDLES is once again here with yet another intersting and commonly asked topic  Understanding SQL BETWEEN Condition in PHP .

The SQL BETWEEN Condition is used to retrieve values within a range in a SELECT, INSERT, UPDATE, or DELETE statement.The values can be numbers, text, or dates.

CORE PHP PHP Snippets Quick Tips SQL BETWEEN Condition

Shaing on Social Media plays a key role in sharing of information in today’s world where we can easily share our information with millions of people through a social platform.Being a developer we always need to implement social sharing buttons on most of our sites.

So today we are here with a short but most interesting and important snippet for a developer Sharing On Social Media Using AddThis Plugin In PHP,which will  give us all predefined codes and the only thing we have to do is to implement these codes in our site or page and the rest will automatically work for us.

CORE PHP PHP Snippets Quick Tips

Comparing various operands or variables based on different conditions is the basic thing which is done in every program we make for determining equality or inequality between two operands,So today we are here with a small snippet
Understanding SQL Comparison Operators which will explain about all the comparison operators used in PHP in most easiest way.

CORE PHP PHP Snippets Quick Tips

SQL Injection is one of the commonly faced problem by most of the applications on the internet today.
SQL Injection is a way by which database query can be controlled can result in compromise of confidentiality.

We have received a lots of comments by our young developers who are willing to know how they can prevent SQL Injection.
So Today PHPHurdles is here with a interesting as well as a crucial topic for the security of web applications,Preventing SQL Injections In PHP

PHP Snippets Preventing SQL Injection Quick Tips

Retrieving Information from database table is most basic and necessary task in any project,but fetched data is of no use if it is not organised and easily understandable.SQL’s ORDER BY ,GROUP BY are few promising functions in sql qhich makes the data well manages and organised.

So today PHPHurdles is presenting a short but very useful tutorial for our new developers who have recently started their carrer in PHP Understanding MySQL GROUP BY and ORDER BY which will help them in retrieving data from database in a well managed and organised way.

CORE PHP GROUP BY MySQL ORDER BY PHP Snippets Quick Tips

As we know the date and time are used in most of the functions of a project, in some we need to sort data by the creation date and in others, we may have to show date with data, there can be an infinite usage of dates in different formats while developing a program.
So today PHPHurdles is presenting tutorial on PHP DATE and TIME where we will learn to extract or format the date and time in PHP.

CORE PHP Datetimeformat PHP Snippets Quick Tips

Taking our earlier tutorial  JQUERY DATEPICKER RESTRICT DATES IN SECOND DATE FIELD BASED ON SELECTED DATE IN FIRST DATE FIELD as a refrence , we received a lots of comments on it where our fellow developers have situations where they want to disable past dates or upcoming dates from Datepicker.

So today we are here with a Snippet in which we will learn how to disable past dates or upcoming dates in PHP Datepicker.

CORE PHP Datepicker Jquery PHP Snippets

Hello developers, as being a developer everyday we explore our skills with some new tasks,sometimes it becomes hectic to solve a particular problem or sometimes hard tasks get eliminated with minimal effort,but all in all we face various problems and give our best to conquer those problems.

So today in our tutorial we are here with a short and interesting topic or task which anyone of us can face while development of a project, that is Converting a 2 dimensional Array Into a String Using PHP.

2 Dimensional Array Into a string Array to String Conversion CORE PHP PHP Snippets Quick Tips