PHP Tutorials

Learn PHP Hypertext Preprocessor (PHP) in a most efficient manner with the help of most detailed tutorials. You will be able to create dynamic and interactive websites after going through these articles and code snippets.

PHP Expressions and Operators

Written By: Nohman Habib   |   No Comments   |   Posted On: February 11, 2020
Operators are used to perform operations on variables and values. When we’re talking about operators we’re basically talking about “math”. By operator I mean things like multiplication and division signs. As you might imagine there are tons of operators. Certainly…

Top 4 variable handling functions in PHP

Written By: Nohman Habib   |   No Comments   |   Posted On: October 2, 2019
PHP has several variable handling functions, but I am going to discuss here the top 4, that I use regularly when scripting. These examples are relatively fundamental, but should provide a useful starting point for those looking to use them…

How to perform php session unset wisely.

Written By: Nohman Habib   |   No Comments   |   Posted On: September 13, 2019
The session unset function works well when you want to end a particular session under certain circumstances. The example below explains how it can be achieved in a better way, along with a conditional statement which returns a specific message,…

How to Insert File Name Array Into MySQL

Written By: Nohman Habib   |   No Comments   |   Posted On: September 8, 2019
In many instances, you have to upload multiple images using PHP and store their names in MySQL database. In this article I am not going into the details of uploading the images and will only cover the Prepared INSERT Statement…

Passing variables and data from PHP to Javascript

Written By: Nohman Habib   |   No Comments   |   Posted On: May 9, 2018
In this post, I am showing you how to pass data or variables from PHP to Javascript. When we open a web page, HTML and Javascript load in the background, which can execute JS on that HTML. It commonly occurs…

Inserting data from one server to another running PHP.

Written By: Nohman Habib   |   No Comments   |   Posted On: May 8, 2018
There is a simple way to accomplish the above-mentioned process, i.e., using web services. The logic behind a web service is very simple. A web service could be implemented by the exchange of data between a server and a client…

What is Object Oriented Programming in PHP?

Written By: Nohman Habib   |   No Comments   |   Posted On:
An object-oriented programme an approach imagines development.  everything in the form of objects like wheels, steering, gears, etc. Similarly, the object-oriented approach is used in our software development.It is a programming model based on objects containing data (attributes) and methods…
PHP Code Snippets Powered By : XYZScripts.com