-
Introduction | PHPDocs.COM
PHP is a server-side scripting language designed for web development
but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, the PHP reference implement...
-
PHP | PHPDocs.COM
Sessions
A session is a way to store information (in variables) to be used across multiple pages. Session values are stored at server and contains separate values for every users.
When you work with a...
-
Functions | PHPDocs.COM
PHP User-defined Functions
A function will not execute until you will call.
A function will not execute on page load until you will call.
User Defined Function Syntax
<?php
function functionname(){
...
-
Form Handling | PHPDocs.COM
Simple HTML Form
Below form will consist of single text box which contains the name and send the data to welcome.php by get Method
Copy Code
Copied
Use a different Browser
<!doctype html>
<html>...
-
Array | PHPDocs.COM
Copy Code
Copied
Use a different Browser
<?php
//Numeric Index Array
$colors=array("black","white","green");
//another way of defining array
$fruit[]="Apple";
$fruit[]="Orange";
$fruit[]="Ma...
-
PHP File Handling Open/Read | PHPDocs.COM
File Open/Read
File handling is an important part of any web application. You often need to open and process a file for different tasks. PHP has many functions for file creation, reading, writing, del...