Sõnastik(Web)

$_POST[?]-?
if(isset($_POST[‘kustutaKom’])){
    kustutaKom($_POST[‘kustutaKom’]);
    header(“Location:”. $_SERVER[‘PHP_SELF’]);
    exit();
}
$_REQUEST[?] – The $_REQUEST superglobal contains data from submitted forms, URL query strings, and HTTP cookies.  (PHP superglobals are built-in variables that are always accessible in all scopes!)
if (isset($_REQUEST[‘presidentNimi’])) {
    lisaPresident($_REQUEST[‘presidentNimi’], $_REQUEST[‘pilt’] );
    header(“Location: ” . $_SERVER[‘PHP_SELF’]);
    exit;
}
When a user clicks the submit button, the form data is sent to the PHP file specified in the action attribute of the <form> tag. In the PHP file we can use the $_REQUEST variable to collect the value of the input field.
H1<h1> – HTML element, mis määrab esimesesuguse pealkirja, tavaliselt kasutatud kõige olulisema pealkirjana lehel.
Header – <header>- HTML element, kuhu pannakse veebelehe päis.
HTML – Hypertext Markup Language