Hello Everyone Today in this blog you are going to learn the PHP code optimization techniques. Code optimization in PHP is a program transformation technique, which tries to improve the code by making it consume…
Category: PHP
Send Email with Gmail SMTP using PHP and AJAX
Hello everyone, Today in this blog we are going to learn how we can send email using PHP. Keep in mind when sending e-mails through PHP is a relatively simple task, but set all the…
Sorting an Array in PHP
Today in this blog we will understand the concept of Sorting an Array in PHP. We will be covering the basic functions for arrays sorting in PHP. Array sorting becomes much more important when it…
Generate Auto Increment Invoice Number With Prefix Using PHP and MySql.
Today in this blog we will understand the concept of How we can generate auto-increment invoice number with prefix using PHP and MySql. Let’s start, first of all, we will create a Mysql table using…
Limit the number of words in a div using HTML and PHP
Today we are going to learn how to Limit the number of words in a div using HTML and PHP. In this blog, we are going to use a custom function to limit the number…
How to decode JSON data and accessing the results in PHP
Today, In this blog we are going to learn “How to decode JSON data and accessing the results in PHP”. JSON is not an array, an object, or a data structure. JSON is a text-based serialization…
Delete an element from an array using PHP
There are different ways to delete an array element, where some are more useful for some specific tasks than others. Delete one array element If you want to delete just one array element you can…
Limit number of login attempt using PHP & MySQL
Hello, Today we learn how to limit the number of login attempt using PHP & MySQL. Sometimes you need to add extra protection to the password-protected website. This article explains how to limit access to…
How to get useful error messages in PHP?
For syntax errors, you need to enable error display in the php.ini. By default, these are turned off because you don’t want a “customer” seeing the error messages. In the PHP documentation for information on…