hi frnds...
i m using front end page is in HTML(contactus.html)... back end is in PHP page(contact_action.php)....
here i m trying to send mail to admin from user...After successfull completion of mail sending , the user gets a Message.,..(like..messgae successfully send..)..
below is my code...can any body change plz...
if (PEAR::isError($mail)) {
echo("<p>" . $mail->getMessage() . "</p>");
} else {
header("location:contactus.html?msg=Message Successfully sent"); }?>
Dont forget i m using .html extention..
Thanks in advance...