Tutorial
Tutorial PHP» PHP $_REQUEST
Variabila PHP $ _REQUEST con?ine atât con?inutul $ _GET, $ _POST ?i $ _COOKIE.Vom discuta despre variabila $ _COOKIE când vom explica despre cookie-uri.
Variabila PHP $ _REQUEST poate fi utilizat? pentru a ob?ine rezultatul din datele de formular trimise atât cu metodele GET, cât ?i cu POST.
Încerca?i s? urma?i exemplul punând codul surs? în scriptul test.php.
Încerca?i s? urma?i exemplul punând codul surs? în scriptul test.php.
<?php
if( $_REQUEST["name"] || $_REQUEST["age"] ) {
echo "Welcome ". $_REQUEST['name']. "<br />";
echo "You are ". $_REQUEST['age']. " years old.";
exit();
}
?>
<html>
<body>
<form action = "<?php $_PHP_SELF ?>" method = "POST">
Name: <input type = "text" name = "name" />
Age: <input type = "text" name = "age" />
<input type = "submit" />
</form>
</body>
</html>
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.