I need a script to collect email addresses from a form and store them in a file or database. I need it for email shots to subscribers. Has anybody any ideas wher I can find one? Thanks John C
<?php if(isset($_POST['email'])){ $email = $_POST['email']; mysql_query("INSERT INTO table(email) VALUES ('$email')"); } ?> <form method="post"> <input type="text" name="email"> <input type="submit" value="Collect"> </form> PHP: