|
Axborot texnologiyalari va kommunikatsiyalarini rivojlantirish vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalari
|
bet | 2/2 | Sana | 16.05.2024 | Hajmi | 8,75 Kb. | | #237960 |
Bog'liq Php form Demo-fayllar.org" . $txt1 . "
";
echo "Study PHP at " . $txt2 . "
";
echo $x + $y;
?>
$cars = array("Volvo", "BMW", "Toyota");
echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
?>
Name:
type="text"
name="name"
required="required"
placeholder="Enter your name" />
Email:
type="email"
name="email"
required="required"
placeholder="Enter your email" />
Subscribe
//---------------------------------------------
// WARNING: this doesn't include sanitization
// and validation
//---------------------------------------------
if (isset($_POST['name'], $_POST['email'])) {
$name = $_POST['name'];
$email = $_POST['email'];
// show the $name and $email
echo "Thanks $name for your subscription.
";
echo "Please confirm it in your inbox of the email $email.";
}
else {echo 'You need to provide your name and email address.';}
?>
http://fayllar.org
|
|
Bosh sahifa
Aloqalar
Bosh sahifa
Axborot texnologiyalari va kommunikatsiyalarini rivojlantirish vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalari
|