0
我想添加一個提交或保存按鈕,將客戶答案添加到數據庫表'通訊'。任何人都知道如何去做這件事?客戶已經登錄了其他細節以添加到表格中,我可以自己弄清楚。時事通訊首選項 - 添加到數據庫
<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>
你在使用mysql數據庫嗎?你有沒有在你的頁面連接數據庫,你只需要查詢? – Mhche
是的,是的。 –
在表格簡報中,您只存儲客戶的答案? – Mhche