Hi,
I am working in php a mail function in this function in message part i want to use one print button which should be mailed to and if who is getting mail want to print this page that should be print. But which code i am using for print button in message that is not working well.
So please help me . How i can do this if there is any other code or help ??
here is code which i am using like this:
<?php
$to="mymail@gmail.com";
$subject="Test Mail";
$message="Hi this is test mail."
$message.="<input type=button value=Print onClick=window.print()>";
$from="test@gmail.com";
mail($to,$subject,$message,$from);
?>
But in this case button Print is not working well.
Please help me to how i can do this in mail message .
Thanks,
Kparas