Today we are going to learn how to connect PHP code with MySQL database and perform insert update and delete in wamp or xampp or lamp server. This would require a piece of MySQL information and online development surroundings using MySQL, Apache and PHP and a straightforward text editor. The tutorial takes you through establishing […]
Read MoreThe 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 […]
Read MoreIn 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 […]
Read MoreThe 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 […]
Read MoreIf 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 […]
Read MoreA PHP function is used to execute a branch of code when needed from the pages where the function is included, and the PHP functions can call several times, A normal PHP function to write a normal PHP function first declare the function then write some code inside the function or inside the scope and […]
Read MorePHP Operators are the characters used for mathematical, Assignment, Comparison, Logical or Concatenation Operations. PHP Concatenation Operators A dot (.) is used for concatenation two or more string. Example: <?php $srr = ‘World’; echo “Hello” . ” ” . $srr; // it will print Hello World ?> PHP Mathamatical or Artithmetic Operators the arithmetic operators […]
Read MoreThe 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 […]
Read MoreBoth 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. Most of the time the PHP while loop is used in the printing of database table values, and do-while is used if […]
Read MoreIf you have a lot of data and needs to store into variables then its become very difficult to handle the variables, in this case, PHP array helped to store a group of data in an organized way, and PHP array helped to easily find the data stored on it, There are 3 different types […]
Read More