This is the codes of a html file:
===============================
===============================
and this is for php program bamed as hh.php
===============================
$a1=$_POST["T1"];
$a2=$_POST["T2"];
$to = "wayiran@gmail.com";
$subject = "$a1";
$message = "$a2";
$from = "services@yahoo.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
?>
===================================
I want to make my program such that when I'm clicking on the button it does two things:
1- taking the content of two text boxs and by php file mailing it to me.
2- opening page www.yahoo.com
HELP ME FOR SECOND ONE, HOW CAN I DO IT?
2006-07-01
02:55:49
·
6 answers
·
asked by
QuestionAnswer
2
in
Programming & Design