As we know push notifications are the becoming the base of any application since educate and keep your customers aware about your products events are the main interest of a company. If Your Android App has PHP as a API language then you should create a customized panel for the user where he/she can trigger the unlimited notifications to its users.
Category: PHP Snippets
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.
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.
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.
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.
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.
Today I will be talking about retrieving your website visitors Geographical details i.e their Country & City and then performing, some decision making based on the country and city from where your website has been accessed.
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
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.
Today I am sharing one of the problems or you can say a learning curve through which I went a few days ago. I was asked to “fetch all the latest blog from one of my client’s blog which was in Wordpress to his Corporate website Developed in Core PHP. Since the database for both were different and even on the different server”.