Newsletter signup

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi, i´m new in php. This is for newsletter subscription

How can I add the following:
1.- email already in database
2.- subscribe/remove (from two radio buttons)
Like [ "Join Our Mailing List"]

To this code (or change it):

function ConnectDB()
{ if (!($link=mysql_connect("localhost","ddbb_user","password")))
   { echo "Error..."; exit(); }
  if (!mysql_select_db("ddbb_database",$link))
   { echo "Error..."; exit(); }
  return $link; }

mysql_query ("INSERT INTO mydb_list (list_email) VALUES ('$email')");

Your email: <?php echo $_GET['email'] ?>

J.A. (F.N.)

Site Timeline