From b1fd6ad33a0790a8e5d39087159aebec0cc86954 Mon Sep 17 00:00:00 2001 From: cocaillot Date: Tue, 15 Oct 2024 15:51:58 +0200 Subject: [PATCH] ajout process.php --- process.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 process.php diff --git a/process.php b/process.php new file mode 100644 index 0000000..fef3ed6 --- /dev/null +++ b/process.php @@ -0,0 +1,26 @@ +Form Submitted Successfully!"; + echo "

Last Name: " . $last_name . "

"; + echo "

First Name: " . $first_name . "

"; + echo "

Age: " . ($age !== null ? $age : 'Not provided') . "

"; + echo "

Gender: " . $gender . "

"; + } else { + // Handle missing required fields + echo "

Error: First name and last name are required.

"; + } +} else { + echo "

No form was submitted.

"; +} +?> \ No newline at end of file