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 […]
Read MoreIf you need to separate a file into many part and then want to marge 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 […]
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 time, A normal PHP function to write a normal php function first declare the function then write some sode 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 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 […]
Read MoreThe php for loop and Foreach both loop is used for execute a portion of code several time, the php for loop is mainly used for execute a branch of code with counter with increment or decrements by a particular integer value and Foreach loop is used for get values from array and work with […]
Read More