i have this code below unsubscribe
php script in which it occurs an error wen i run the script, please could any one help me solve this script.. thanks
error:
Fatal error: Call to undefined function: delete_mail() in
/home/simply22/public_html/test/mailing/unsubscribe.php on line
14
- Code: Select all
<?
require('inc/config.php');
if ($_SERVER['REQUEST_METHOD'] == "POST") {
delete_mail("POST");
}
if ($_SERVER['REQUEST_METHOD'] == "GET") {
if ($_GET['email'] == "") {
include('inc/form2.php');
} else {
delete_mail("GET"); ---> in this line coz the error
}
}
?>