💻 Full Working Code
📁 contact.html
<!DOCTYPE html>
<html lang="sw">
<head>
<meta charset="UTF-8">
<title>Contact - Faulink</title>
<style>
body { font-family: Arial; margin: 0; background: #f9fafb; text-align: center; }
form {
background: white; width: 300px; margin: 50px auto; padding: 20px;
border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
input, textarea {
width: 90%; padding: 8px; margin: 10px 0; border-radius: 5px; border: 1px solid #ccc;
}
button { background: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 5px; }
</style>
</head>
<body>

<h2>Wasiliana Nasi</h2>

<form action="send.php" method="POST">
<input type="text" name="name" placeholder="Jina lako" required><br>
<input type="email" name="email" placeholder="Barua pepe" required><br>
<textarea name="message" placeholder="Ujumbe wako" rows="4"></textarea><br>
<button type="submit">Tuma</button>
</form>

</body>
</html>
📁 send.php
<?php
if($_SERVER["REQUEST_METHOD"] == "POST"){
$name = htmlspecialchars($_POST['name']);
$email = htmlspecialchars($_POST['email']);
$message = htmlspecialchars($_POST['message']);
echo "<h3>Asante $name! Ujumbe wako umetumwa kwa mafanikio.</h3>";
}
?>
________________________________________
🎥 YouTube Description
Leo tunajifunza jinsi ya kutengeneza Contact Page kamili kwa HTML form na PHP processing script.
Utaona jinsi ya kuchukua data kutoka kwa mtumiaji na kuionyesha kwa salama.
Hii ni msingi wa kujenga feedback na registration forms.
🔔 Subscribe kwa tutorials zaidi kutoka Faulink.
________________________________________
🏷️ Hashtags
#HTMLForms #PHP #ContactForm #WebDevelopment #Faulink #Coding #WebDesign