setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); echo "Connected successfully"; // delete the email address $sql='DELETE FROM subscribers WHERE emailaddress =$Email_Address' ; $result = mysql_query( $sql, $conn ); if($result){ if ($Value == "blog"){ $new_win = ""; echo $new_win; } else { $new_win2 = ""; echo $new_win2; } } } catch(PDOException $e) { echo "Error Message: " . $e->getMessage(); $line3 = " Back to my blog - Try again !" ; echo $line3; } } mysql_close($conn); ?> Unsubscribe from ECOVIB2D©