In message <[EMAIL PROTECTED]>, ali bin abu
<[EMAIL PROTECTED]> writes
>$matric = $_GET['matric'];
>$name = $_GET['name'];
>$email = $_POST['email'];
>
>$subject = "Final Exam's Schedule";
>$body = "$matric $name $email"  ;
>mail($email,$subject,$body);
>
>
>
>1) the output only show for $email, the other two : 
>   $matric and $name are not shown.

You are mixing GETs and POSTs... should they all be POSTs?

>2) can we send put sql query 's result into $body ?

Yes, you can put anything into the body.  Instead of outputting the
results to the screen, save them to a variable, and put the variable
into the body.

-- 
Pete Clark

Sunny Andalucia
http://www.hotcosta.com/comm_1.htm

Reply via email to