PHP programming language tutorial
The PHP tutorials will help the beginner to learn and develop code using PHP, through the PHP tutorials for a beginner we will cover the syntax, procedure, loop, conditional logic, database and other mandatory parts of PHP to develop a website.
How to install PHP in windows, Linux or in Mac OS.
To develop in PHP the first need is to install PHP, and in this post, we will learn how to install PHP in windows, Linux or in a mac os. It is needed to make your local machine as a local server as can be developed and tun PHP code in your local machine opening […]
What are the basic syntax of PHP?
To make a project using PHP first need to know the basic syntax of PHP. that is how to make a comment a line or multiple lines, or how to print an array or a string and also how to concatenate multiple strings. How to make a single line or multiple lines commenting? Using PHP […]
PHP variable definition and details of use global , static , and array inside or outside of Scope
To store volatile data on a page and to use it, the variable is the most useful portion of any programming language. In this post we are going to see how to use PHP variable with its definition it contains PHP global variable, PHP array and PHP static variable with simple PHP variable and how […]
How to recevethe data sent from a HTML form in php by using php form variable get , post or request method?
To generate business online and to get connected with business and website user form submission is the ultimate way. But form after submission of the form has to receive the data and use them also, so in this post we are going to learn how to receive the data sent from a form in […]
PHP Session and PHP Cookies
The PHP session and PHP cookies are a very mandatory portion to develop a PHP project. The session and cookies both are used to store information and use that information throughout all pages or functions. What is the PHP Session? A PHP session is a process to store data in the server, for a local […]
PHP While Loop and Do While Loops
Both PHP while loop and do-while loop is used to execute bulk ok code several times and using that we can execute the bulk of code several time which is inside the scope. Learn everything you need to know about PHP’s While and Do-While loops. From syntax to practical examples, this tutorial equips you to […]
PHP For Loop and Foreach Loop
The PHP for loop and Foreach both loop is used for executing a portion of code several time, the PHP for loop is mainly used for executing a branch of code with counter with increment or decrements by a particular integer value and Foreach loop is used for getting values from the array and work […]
PHP Include , Require , Include Once (include_once) and Require Once (require_once)
If you need to separate a file into many parts and then want to merge them into one PHP file then you need to use PHP include, and they are: 1. include 2. include_once 3. require 4. require_once PHP include This is used while needed to include a file into another file, ** Include a […]
PHP File Upload – how to upload a file in php
The PHP File Upload process is worked while a file is sent from an HTML form and after submission of the form the file is saved in a temp location ( $_FILES[‘image’][‘tmp_name’] ) then using the PHP function move_uploaded_file() you van be able to upload the file from temp location to a folder of your […]
PHP File Read, Write, Append and Delete
In our previous post, we have learned how to upload files in PHP, in this post we are going to learn Read, Write, Append and Delete PHP file. In the case of PHP file function there is mainly 4 process and they are 1. Read File 2. Write File 3. Append File 4. and Delete […]
PHP Mail Function and Send Mail With Attachment
The mail sending process has become a commonly used process for any website, it may be used for the contact form or newsletter or a shopping purpose mail generated and sent from the website or system it may be through a crone job also. So PHP Mail Function provides us the functionality to send mail […]