我想添加一个提交或保存按钮,将客户答案添加到数据库表“时事通讯”。有人知道该怎么做吗?客户将已经登录以获取其他详细信息以添加到表中,我可能能够自己弄清楚。
<div id="newsletter-settings">
<h3 style="margin-left:0; padding:0; font-size:14px; background:none; margin:0;">Your Newsletter Settings</h3>
<p>You can edit your newsletter preferences by checking the boxes below to suit your requirements.</p>
<form method="post">
<label for="recieve-newsletter">Do you wish to receive the Make A Will Now email newsletter?</label>
<input type="radio" name="recieve-newsletter" value="Yes" /><span>Yes</span>
<input type="radio" name="recieve-newsletter" value="No" style="margin-left:20px;" /><span>No, not at the moment</span>
<label for="newsletter-partners" style="margin-top:20px;">Do you wish to receive emails from carefully selected partners?</label>
<input type="radio" name="newsletter-partners" value="Yes" /><span>Yes</span>
<input type="radio" name="newsletter-partners" value="No" style="margin-left:20px;" /><span>No, not at the moment</span>
</form>
</div>