We are constantly trying to improve PHP Freaks and these forums, so feel free to go to the PHPFreaks Comments/Suggestions board and point out anything you'd like to see different!
0 Members and 1 Guest are viewing this topic.
<h2>SEND EMAIL TO LIST</h2> <form action="/mailingList/submitMail/" method="post"> Which Lists:<br /> <input type="checkbox" id="list1" name="list1" value="1" /> List 1<br /> <input type="checkbox" id="list2" name="list2" value="1" /> List 2<br /> <input type="checkbox" id="list3" name="list3" value="1" /> List 3<br /> Enter Email:<br /> <textarea name="email" cols="50" rows="5"></textarea> <button type="submit"> Send Email </button></form>
mysql_query("INSER INTO tableNameHere (name, email, list1, list2, list3) VALUES ('$name', '$email', '$list[1]', '$list[2]', '$list[3]') ");