Page 1 of 1

print report in email message

Posted: Tue Jun 15, 2004 3:02 am
by munnan
I am facing a problem,actually I want to get a print function work in email message,that function is working fine when I display the text of email through print();
but as I get that text in email ,the button gets functionless,I will be very pleased if some on ehelp me out in this problem.thanx

Posted: Tue Jun 15, 2004 3:13 am
by Grim...
Let me see if I understand what you are trying to do:

You want to send someone an email with a button in, that, when clicked, will open a report?

Emails can only use HTML, not PHP (as far as I know), but as long as you had the report online, you could do something like:

Code: Select all

<form action="http://www.reports.com/myreport.htm">
<input type="submit" value="Click here to see the report">
</form>
Let me know if I've got totally the wrong end of the stick :)

prb solved

Posted: Tue Jun 15, 2004 3:23 am
by munnan
gotcha ,
thanx for the msg ,
my prb is solved :P