Web design company - $result = mysql_query($sql) or die( Invalid query: .
$result = mysql_query($sql) or die( Invalid query: . mysql_error()); if (mysql_num_rows($result)) { $row = mysql_fetch_array($result); $msg .= You have been removed from the . $row[ listname ] . mailing list.
; } else { $msg .= Sorry, could not find Mailing List id#{$ml_id} ; } $msg .= Return to Mailing List Signup page ; echo $msg; ?> 2. At the bottom of the e-mail you sent yourself is a link you can click to remove yourself from the mailing list. Now, click the link. You should see the Removal page (see Figure 14-5), with a message of success. If you send another message to that mailing list, the message should not be sent to your e-mail address. Figure 14-5 How It Works Auser can remove him- or herself from a mailing list in two ways. The first way is for the user to go to user.php, enter the e-mail address, choose the mailing list, and click the Remove button. The second way is via a link that you conveniently include at the end of e-mails that are sent to the mailing list recipients. The remove.php page requires two parameters, user ID and mailing list ID. You are removing a database record from the ml_subscriptions table, and you will recall that those two values are what make each record unique. You can easily get that data from the e-mail link; it s embedded as part of the URL. 512 Chapter 14
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.