+ 2
How to create an email system using php?
how can i create a feedback form including the email element?
4 odpowiedzi
+ 10
the second part:
<!-- WWW.DEVBOOK.CZ -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Mailform</title>
</head>
<body>
<p>You can contact me on the address below.</p>
<?php
if ($notice){
echo('<p>' . htmlspecialchars($notice) . '</p>');
}
$name = (isset($_POST['name'])) ? $_POST['name'] : '';
$email = (isset($_POST['email'])) ? $_POST['email'] : '';
$message = (isset($_POST['message'])) ? $_POST['message'] : '';
?>
<form method="post">
<table>
<tr>
<td>Your name</td>
<td><input name="name" type="text" value="<?= htmlspecialchars($name) ?>" /></td>
</tr>
<tr>
<td>Your email</td>
<td><input name="email" type="email" value="<?= htmlspecialchars($email) ?>" /></td>
</tr>
<tr>
<td>Current year</td>
<td><input name="year" type="number" /></td>
</tr>
</table>
<textarea name="message"><?= htmlspecialchars($message) ?></textarea><br />
<input type="submit" value="Submit" />
</form>
</body>
</html>
+ 1
http://www.webhostingreviewslist.com/development/10-best-phpmysql-free-webmail-scripts-for-your-website/
10 open source webmail script
- 1
it's showing checkEmail as error