PHP File Upload

PHP allows you to upload single and multiple files to server. Learn PHP File Upload tutorials easy. move_uploaded_file() function or copy() function is used to upload file in server. ...

PHP File Handling

PHP File System allows us to create file, read file line by line, read file character by character, write file, append file, delete file and close file. PHP provides fopen(), fclose(), fread(), fwrite(), unlink() function to manipulates files....

PHP POST and GET Method

PHP POST and GET Method are used to retrive data from another page or same page which are sent by FORM. Data sent by post request can be retrived by $_POST variable. Data sent by get request can be retrived by $_GET variable. ...

PHP Magic Constants

Magic constants are the predefined constants in PHP which is changed depending on where they are used. They start with double underscore (__) and ends with double underscore.Learn PHP Magic Constants tutorials easily....

PHP $ and $$ Variables

Assigned by $ sign variable is normal variable and $$ sign variable is reference variable. Single dollar sign ($) assigned variable ($str) stores any value like string, integer, float, data, char, double etc. Double dollar sign ($$) assigned variable ($$str) stores value of the $str inside it....

PHP Comments

PHP Comments can be used to hide portion of code line and code description in php programming code. PHP Comments line code can not be executed. programmer can use PHP Comments to describe code details....

PHP Print

PHP print statement is used to print the string, multi-line strings, escaping characters, variable, array, number etc. Learn PHP Print statement ...

PHP Break

PHP break statement stop the execution of the current Control loop Statement like for, while, do-while, switch, and for each loop. If you use break statement inside inner loop body, it breaks the execution of inner loop only. The break statement can be used to jump out of a loop.Learn PHP Break tutorials....

PHP do while loop

Learn PHP do while loop tutorials. The do while loop executes a block of code once and then runs the loop as long as the given condition is true.PHP do while loop executes the code at least once always...

PHP foreach loop

The foreach loop is used to get each element value in an array. foreach loop is used to loop through each key/value pair in an array. Learn PHP foreach loop tutorials....