View Single Post
  #1 (permalink)  
Old Jul 18th, 2007, 10:20
csun csun is offline
Up'n'Coming Member
Join Date: Jul 2006
Location: manila
Age: 28
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
error in unsubscribe.php script

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
        }
    }

?>
Reply With Quote