This commit is contained in:
boris committed 2025-02-06 12:30:01 +00:00
1 parent f30a8fe711
commit f64a9eadbe
176 files changed
+21418

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
session_start();
var_dump($_SESSION);
if (isset($_POST["submit"])) {
$name = $_POST["name"];
$birthday = $_POST["birthday"];
echo $name;
echo $birthday;
if ($name && $birthday) {
echo "Welcome $name! You were born on $birthday";
$_SESSION["name"] = $name;
$_SESSION["birthday"] = $birthday;
}
else
{
echo "Error in Name or Date";
}
}